Git Product home page Git Product logo

spring-boot-admin's Issues

Tomcat可以正常启动,但是报Security的错误

2018-09-29 09:21:06.481  INFO 32243 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 10000 (http)
2018-09-29 09:21:06.489  INFO 32243 --- [           main] com.dmc.DMCApplication                   : Started DMCApplication in 12.961 seconds (JVM running for 13.635)
2018-09-29 09:21:13.792  INFO 32243 --- [io-10000-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring FrameworkServlet 'dispatcherServlet'
2018-09-29 09:21:13.793  INFO 32243 --- [io-10000-exec-1] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization started
2018-09-29 09:21:13.816  INFO 32243 --- [io-10000-exec-1] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization completed in 23 ms
2018-09-29 09:21:13.841 DEBUG 32243 --- [io-10000-exec-1] c.d.j.JsonWebTokenAuthenticationFilter   : Checking secure context token: null
2018-09-29 09:21:13.842 DEBUG 32243 --- [io-10000-exec-1] c.d.j.JsonWebTokenAuthenticationFilter   : No pre-authenticated principal found in request
2018-09-29 09:21:13.854 DEBUG 32243 --- [io-10000-exec-1] c.d.j.JsonWebTokenAuthenticationFilter   : Checking secure context token: org.springframework.security.authentication.AnonymousAuthenticationToken@9055c2bc: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@b364: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS
2018-09-29 09:21:13.855 DEBUG 32243 --- [io-10000-exec-1] com.dmc.security.DMCSecurityInterceptor  : Public object - authentication not attempted
2018-09-29 09:21:14.205 DEBUG 32243 --- [io-10000-exec-2] c.d.j.JsonWebTokenAuthenticationFilter   : Checking secure context token: null
2018-09-29 09:21:14.206 DEBUG 32243 --- [io-10000-exec-2] c.d.j.JsonWebTokenAuthenticationFilter   : No pre-authenticated principal found in request

应该是路径/在SecurityConf中没有配permitAll()。

新添加页面,沿用样式

QQ截图20190417190405
您好!请问在新建的菜单,及其新建的功能如何按您的css的样式增添html?
1.我把您user下的html js css都拷贝到新文件夹"a",将user.html改名为a.html,并在资源管理内设置了新功能的路径../a/a.html。
2.运行新建的功能,显示html内的“用户名 | 昵称 | 创建时间 | 操作”,没有bootstrap格式(因为套用您的html,bootstrap文件的路径,及html中引用路径没有修改);显示"确定"button,其他样式不能显示。

【暂时页面显示正常了,暂时保留该问题,这是个什么神奇的情况?】
关于恢复正常以后:
1.想问问您是用jsp而没用用其他模板引擎么?
2.作为jsp初学者,请问如何自己搭建一个新的页面?
3.如果用thymeleaf可以和资源管理对接上么?

后端学习中,前端知识了解太少,还望您多多包涵!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.