fix #2108 skip tld scanning
This commit is contained in:
parent
47eae9414d
commit
5be2e9afb3
2 changed files with 3 additions and 1 deletions
2
pom.xml
2
pom.xml
|
@ -70,7 +70,7 @@
|
|||
|
||||
<!-- Tomcat -->
|
||||
<tomcat.version>9.0.17</tomcat.version>
|
||||
<tomcat.boot.version>0.7.1</tomcat.boot.version>
|
||||
<tomcat.boot.version>0.7.2-RC1</tomcat.boot.version>
|
||||
|
||||
<!-- DEB & RPM build -->
|
||||
<packaging.fess.home.dir>/usr/share/fess</packaging.fess.home.dir>
|
||||
|
|
|
@ -91,6 +91,8 @@ public class FessBoot extends TomcatBoot {
|
|||
if (host instanceof StandardHost) {
|
||||
((StandardHost) host).setErrorReportValveClass(SuppressErrorReportValve.class.getName());
|
||||
}
|
||||
}).useTldDetect(jarName -> {
|
||||
return jarName.contains("jstl") || jarName.contains("lasta-taglib");
|
||||
}).asDevelopment(isNoneEnv()).bootAwait();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue