目录
springboot项目没有启动tomcat显示canner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs.
/  

springboot项目没有启动tomcat显示canner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs.

部署的时候提示标题所示

我部署的是springboot项目,提示 canner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. 信息

并且springboot项目没有启动,确认过代码完全没问题。

针对于提示信息的解决办法

参考这个文章:https://blog.csdn.net/sinat_34104446/article/details/82721250

springboot无法启动问题

  1. 保证代码没有问题,打包成war包,
    extends SpringBootServletInitializer这个类,并实现configure
    
  2. 看一服务器的jdk的版本和项目使用的jdk版本是否一致。

我项目原本的jdk版本是11.0

我将项目的jdk换成8.0,和服务器一致,完美解决springboot无法启动的问题。


标题:springboot项目没有启动tomcat显示canner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs.
作者:gitsilence
地址:https://blog.lacknb.cn/articles/2020/05/28/1590627763100.html