【发布时间】:2011-07-19 18:07:46
【问题描述】:
- tomcat 7.0.16
- Java 1.6.0_22
- CentOS 5.6
我刚刚将 web.xml 切换到 servlet 3.0(从之前运行 2.4 的应用程序),现在我看到以下错误(为 org.apache.tomcat.util 启用了精细日志记录):
mtyson FINE: Scanning JAR [file:/usr/java/jdk1.6.0_22/jre/lib/ext/jcharset.jar] from classpath
mtyson Jul 19, 2011 10:04:40 AM org.apache.catalina.startup.HostConfig deployDirectory
mtyson SEVERE: Error deploying web application directory ROOT
mtyson org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60
更新:刚刚尝试了 tomcat 7.0.19 - 结果相同
【问题讨论】:
-
有关实际情况的解释 - 请参阅stackoverflow.com/questions/50567687
标签: tomcat7 servlet-3.0