Java 11 + Springboot 2.0.5 这段提示会响应吗?

netkiller- 发布于 2018/09/29 12:22
阅读 648
收藏 0

系统提示

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/Users/neo/.m2/repository/org/springframework/spring-core/5.0.8.RELEASE/spring-core-5.0.8.RELEASE.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

 

完整的输出

 

/Users/neo
11
Mac OS X
http://java.oracle.com/

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.4.RELEASE)

2018-09-29 12:17:02.589  INFO 1682 --- [           main] com.example.demo.DemoApplication         : Starting DemoApplication on MacBook-Pro.local with PID 1682 (/Users/neo/workspace/demo/target/classes started by neo in /Users/neo/workspace/demo)
2018-09-29 12:17:02.592  INFO 1682 --- [           main] com.example.demo.DemoApplication         : No active profile set, falling back to default profiles: default
2018-09-29 12:17:02.636  INFO 1682 --- [           main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2a693f59: startup date [Sat Sep 29 12:17:02 CST 2018]; root of context hierarchy
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/Users/neo/.m2/repository/org/springframework/spring-core/5.0.8.RELEASE/spring-core-5.0.8.RELEASE.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2018-09-29 12:17:03.633  INFO 1682 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
2018-09-29 12:17:03.663  INFO 1682 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2018-09-29 12:17:03.664  INFO 1682 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.32
2018-09-29 12:17:03.674  INFO 1682 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/Users/neo/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.]
2018-09-29 12:17:03.763  INFO 1682 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2018-09-29 12:17:03.763  INFO 1682 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 1133 ms
2018-09-29 12:17:03.819  INFO 1682 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]
2018-09-29 12:17:03.824  INFO 1682 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
2018-09-29 12:17:03.824  INFO 1682 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2018-09-29 12:17:03.825  INFO 1682 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2018-09-29 12:17:03.825  INFO 1682 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
2018-09-29 12:17:03.925  INFO 1682 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-09-29 12:17:04.064  INFO 1682 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2a693f59: startup date [Sat Sep 29 12:17:02 CST 2018]; root of context hierarchy
2018-09-29 12:17:04.122  INFO 1682 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/test/get],methods=[GET]}" onto public java.lang.String com.example.demo.controller.TestController.get(java.lang.String) throws java.io.IOException
2018-09-29 12:17:04.123  INFO 1682 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/test/list],methods=[GET]}" onto public java.util.Map<java.lang.String, java.lang.String> com.example.demo.controller.TestController.x(javax.servlet.http.HttpServletRequest) throws java.io.IOException
2018-09-29 12:17:04.123  INFO 1682 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/test/post],methods=[POST]}" onto public java.lang.String com.example.demo.controller.TestController.post(java.lang.String) throws java.io.IOException
2018-09-29 12:17:04.126  INFO 1682 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2018-09-29 12:17:04.127  INFO 1682 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2018-09-29 12:17:04.143  INFO 1682 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-09-29 12:17:04.143  INFO 1682 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-09-29 12:17:04.256  INFO 1682 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2018-09-29 12:17:04.292  INFO 1682 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
2018-09-29 12:17:04.298  INFO 1682 --- [           main] com.example.demo.DemoApplication         : Started DemoApplication in 2.239 seconds (JVM running for 2.685)

 

加载中
返回顶部
顶部