自己手动配置spring boot环境,启动不报错,但直接退出了
是因为spring boot和tomcat版本不兼容
查看spring boot与tomcat版本:
比如查看spring boot2.5.2
https://search.maven.org/artifact/org.springframework.boot/spring-boot-starter-tomcat/2.5.2/jar

本文解决了一个关于SpringBoot应用启动后直接退出的问题,原因是SpringBoot版本与Tomcat版本不兼容。文章提供了检查兼容性的方法。
自己手动配置spring boot环境,启动不报错,但直接退出了
是因为spring boot和tomcat版本不兼容
查看spring boot与tomcat版本:
比如查看spring boot2.5.2
https://search.maven.org/artifact/org.springframework.boot/spring-boot-starter-tomcat/2.5.2/jar

1432

被折叠的 条评论
为什么被折叠?