Spring Boot Application immediately shuts down after starting

后端 未结 4 1607

I am working currently on a project which includes the Spring Framework. Everything is working as aspect but there is one problem. When I try to start my application onto my lap

4条回答
  •  半阙折子戏
    2021-02-08 19:34

    Problem is solved - thanks for your help crazycoder. The issue was caused by an older version of tomcat. After upating the embedded tomcat of Spring to 1.5.3_RELEASE and updating mysql-jdbc-driver as well , it finally worked for me. I adjusted the pom.xml like this:

    
        org.springframework.boot
        spring-boot-starter-parent
        2.0.0.RELEASE
    
    

提交回复
热议问题