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

为什么启动不了

2018-06-20 09:40:52.458  INFO 9136 --- [           main] com.example.girl.GirlApplicationTests    : Starting GirlApplicationTests on DESKTOP-BVECVSQ with PID 9136 (started by gu in E:\BaiduNetdiskDownload\java\girl)

2018-06-20 09:40:52.463  INFO 9136 --- [           main] com.example.girl.GirlApplicationTests    : No active profile set, falling back to default profiles: default

2018-06-20 09:40:52.533  INFO 9136 --- [           main] o.s.w.c.s.GenericWebApplicationContext   : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@48e1f6c7: startup date [Wed Jun 20 09:40:52 CST 2018]; root of context hierarchy

2018-06-20 09:40:55.063  INFO 9136 --- [           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-20 09:40:55.380  INFO 9136 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@48e1f6c7: startup date [Wed Jun 20 09:40:52 CST 2018]; root of context hierarchy

2018-06-20 09:40:55.490  INFO 9136 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello],methods=[GET]}" onto public java.lang.String com.example.girl.HelloController.say()

2018-06-20 09:40:55.495  INFO 9136 --- [           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-20 09:40:55.496  INFO 9136 --- [           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-20 09:40:55.529  INFO 9136 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]

2018-06-20 09:40:55.530  INFO 9136 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]

2018-06-20 09:40:56.075  INFO 9136 --- [           main] com.example.girl.GirlApplicationTests    : Started GirlApplicationTests in 4.521 seconds (JVM running for 6.054)

2018-06-20 09:40:56.222  INFO 9136 --- [       Thread-2] o.s.w.c.s.GenericWebApplicationContext   : Closing org.springframework.web.context.support.GenericWebApplicationContext@48e1f6c7: startup date [Wed Jun 20 09:40:52 CST 2018]; root of context hierarchy


Process finished with exit code 0


正在回答

1 回答

没有找到默认的配置文件,看看是不是application.yml拼写错了。。。。

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

举报

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

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

进入课程

为什么启动不了

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