只需在 eclipse 中创建一个 spring boot 应用程序并尝试运行它,但它没有正确启动,不足以处理请求。以下显示了控制台尝试了针对同一问题提出的其他问题的所有解决方案。但没有工作。
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.0.6.RELEASE)
2018-10-22 14:12:42.929 INFO 5752 --- [ main] com.nevro.TrainingApiApp : Starting TrainingApiApp on DESKTOP-AUANCVF with PID 5752 (E:\MyStuff\Tutorials\spring-boot-training\target\classes started by acer in E:\MyStuff\Tutorials\spring-boot-training)
2018-10-22 14:12:42.932 INFO 5752 --- [ main] com.nevro.TrainingApiApp : No active profile set, falling back to default profiles: default
2018-10-22 14:12:43.004 INFO 5752 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@19d37183: startup date [Mon Oct 22 14:12:43 IST 2018]; root of context hierarchy
2018-10-22 14:12:43.758 INFO 5752 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2018-10-22 14:12:43.770 INFO 5752 --- [ main] com.nevro.TrainingApiApp : Started TrainingApiApp in 1.137 seconds (JVM running for 1.725)
2018-10-22 14:12:43.783 INFO 5752 --- [ Thread-2] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@19d37183: startup date [Mon Oct 22 14:12:43 IST 2018]; root of context hierarchy
2018-10-22 14:12:43.785 INFO 5752 --- [ Thread-2] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
它说应用程序已启动,但是当尝试浏览它时,除了浏览器错误之外别无他物。
tomcat (8080) 的默认端口是 unoccupied 。
手掌心
长风秋雁
相关分类