读好书,交益友
分类: Java
2018-03-30 10:10:24
org.apache.jasper.servlet.TldScanner : No TLD files were found in [jar:filexxxx
开始认为是tomcat的classloader问题,后来发现不是。
看了一下tomcat的doc
可以在$CATALINA_BASE/conf/catalina.properties设置 tomcat.util.scan. DefaultJarScanner.jarsToSkip org.apache.catalina.startup. ContextConfig.jarsToSkip org.apache.catalina.startup. TldConfig.jarsToSkip
spring boot在application.properties添加
server.tomcat.additional-tld-skip-patterns=*.jar