为了账号安全,请及时绑定邮箱和手机立即绑定

启动没有出现mysql 错误

2018-06-25 17:51:35.076  INFO 9360 --- [           main] com.example.demo.DemoApplication         : Starting DemoApplication on ADMIN-PC with PID 9360 (started by admin in D:\工作\IDea\demo)

2018-06-25 17:51:35.080  INFO 9360 --- [           main] com.example.demo.DemoApplication         : The following profiles are active: dev

2018-06-25 17:51:35.152  INFO 9360 --- [           main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@67d48005: startup date [Mon Jun 25 17:51:35 CST 2018]; root of context hierarchy

2018-06-25 17:51:35.810  INFO 9360 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8081 (http)

2018-06-25 17:51:35.826  INFO 9360 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]

2018-06-25 17:51:35.826  INFO 9360 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.31

2018-06-25 17:51:35.829  INFO 9360 --- [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: [D:\java\jdk\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\java\jdk\bin\bin;D:\java\jdk\bin\jre\bin;.]

2018-06-25 17:51:35.900  INFO 9360 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/test]   : Initializing Spring embedded WebApplicationContext

2018-06-25 17:51:35.900  INFO 9360 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 750 ms

2018-06-25 17:51:35.978  INFO 9360 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]

2018-06-25 17:51:35.981  INFO 9360 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]

2018-06-25 17:51:35.981  INFO 9360 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]

2018-06-25 17:51:35.981  INFO 9360 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]

2018-06-25 17:51:35.981  INFO 9360 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]

2018-06-25 17:51:36.064  INFO 9360 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]

2018-06-25 17:51:36.239  INFO 9360 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@67d48005: startup date [Mon Jun 25 17:51:35 CST 2018]; root of context hierarchy

2018-06-25 17:51:36.274  INFO 9360 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/student/{id}],methods=[GET]}" onto public java.lang.String com.example.demo.Text.sutdent(java.lang.String)

2018-06-25 17:51:36.277  INFO 9360 --- [           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-06-25 17:51:36.278  INFO 9360 --- [           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-06-25 17:51:36.294  INFO 9360 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]

2018-06-25 17:51:36.294  INFO 9360 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]

2018-06-25 17:51:36.413  INFO 9360 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup

2018-06-25 17:51:36.441  INFO 9360 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8081 (http) with context path '/test'

2018-06-25 17:51:36.444  INFO 9360 --- [           main] com.example.demo.DemoApplication         : Started DemoApplication in 1.829 seconds (JVM running for 2.591)


正在回答

2 回答

所以没有错误不就是对的吗,有什么问题吗

0 回复 有任何疑惑可以回复我~
#1

慕粉211552979

人家意思数据库没有建立,运行程序没有报错。
2018-09-28 回复 有任何疑惑可以回复我~
你这里都是INFO 没有WARN 啊。错误信息都没有 
0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
2小时学会Spring Boot
  • 参与学习       151599    人
  • 解答问题       1079    个

Spring Boot入门视频教程,你将学会使用Spring Boot快速构建应用程序

进入课程

启动没有出现mysql 错误

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信