看了一下抛出了异常:
停止打印的日志:
[Thread-9] INFO org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@6d21714c: startup date [Sun Mar 29 17:10:04 CST 2020]; root of context hierarchy
[Thread-9] INFO org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Unregistering JMX-exposed beans on shutdown
[Thread-9] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
看了下服务器,资源占用也不高
看了很多网友给出答案说:在maven中加这个依赖就好,
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>compile</scope>
</dependency>
所有方法都试了,就是不行。当前还一直没有排查到问题,请大神指点 |
|