tomcat在启动时报错Unable to process Jar entry [org/apache/taglibs/standard/lang/jstl/Constants.class]

org.apache.catalina.startup.ContextConfig.processAnnotationsJar Unable to process Jar entry [org/apache/taglibs/standard/lang/jstl/Constants.class] from Jar [file:/E:/IDEA%20workspacer/oa/oa_web/target/oa_web/WEB-INF/lib/jstl-1.2.jar] for annotations

org.apache.catalina.startup.ContextConfig.processAnnotationsJar Unable to process Jar entry [org/apache/taglibs/standard/lang/jstl/Constants.class] from Jar [file:/E:/IDEA%20workspacer/oa/oa_web/target/oa_web/WEB-INF/lib/jstl-1.2.jar] for annotations

可以到tomcat下的conf下修改catalina.properties这个文件,在tomcat.util.scan.StandardJarScanFilter.jarsToSkip中添加出错的jar包
tomcat在启动时报错Unable to process Jar entry [org/apache/taglibs/standard/lang/jstl/Constants.class]_第1张图片
比如我出错的是jstl包
原来是这样的
tomcat在启动时报错Unable to process Jar entry [org/apache/taglibs/standard/lang/jstl/Constants.class]_第2张图片
改成这样,启动成功
tomcat在启动时报错Unable to process Jar entry [org/apache/taglibs/standard/lang/jstl/Constants.class]_第3张图片

你可能感兴趣的:(编程杂记)