org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60
2017-04-11 10:35
1451 查看
今天发布web项目时,把tomcat6升级成了tomcat7,启动tomcat时报如下错误:
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60,详情信息如下:
运行环境:
window 64位+jdk1.7.0_45+apache-tomcat-7.0.47
错误原因:不确定
解决方法:只需要将tomcat升级到最新tomcat7的高版本即可(如:apache-tomcat-7.0.77)。
正确启动的环境:window 64位+jdk1.7.0_45+apache-tomcat-7.0.77
apache-tomcat-7.0.77下载地址:
window32位tomcat7.0.77: http://download.csdn.net/detail/gnail_oug/9810319
或者
http://mirror.bit.edu.cn/apache/tomcat/tomcat-7/v7.0.77/bin/apache-tomcat-7.0.77-windows-x86.zip
window64位tomcat7.0.77:http://download.csdn.net/detail/gnail_oug/9810314
或者
http://mirror.bit.edu.cn/apache/tomcat/tomcat-7/v7.0.77/bin/apache-tomcat-7.0.77-windows-x64.zip
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60,详情信息如下:
严重: Unable to process Jar entry [com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class] from Jar [jar:file:/D:/apache-tomcat-7.0.47/code/ell/WEB-INF/lib/icu4j-2.6.1.jar!/] for annotations org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60 at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:133) at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool.java:60) at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:209) at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:119) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2134) at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:2010) at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1976) at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1961) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1319) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744)
运行环境:
window 64位+jdk1.7.0_45+apache-tomcat-7.0.47
错误原因:不确定
解决方法:只需要将tomcat升级到最新tomcat7的高版本即可(如:apache-tomcat-7.0.77)。
正确启动的环境:window 64位+jdk1.7.0_45+apache-tomcat-7.0.77
apache-tomcat-7.0.77下载地址:
window32位tomcat7.0.77: http://download.csdn.net/detail/gnail_oug/9810319
或者
http://mirror.bit.edu.cn/apache/tomcat/tomcat-7/v7.0.77/bin/apache-tomcat-7.0.77-windows-x86.zip
window64位tomcat7.0.77:http://download.csdn.net/detail/gnail_oug/9810314
或者
http://mirror.bit.edu.cn/apache/tomcat/tomcat-7/v7.0.77/bin/apache-tomcat-7.0.77-windows-x64.zip
相关文章推荐
- maven org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60
- org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60
- org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool问题解决方案
- org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
- org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
- util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15
- 出现 org.apache.tomcat.xxx.ClassFormatException: Invalid byte tag in constant pool: 15 异常的原因及解决方法
- org.apache.tomcat.util.bcel.classfile.ClassFormatException:it is not a Java .class file
- org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file 的解决方法
- 出现 org.apache.tomcat.util.bcel.classfile.ClassFormatException 异常的原因及解决方法
- ClassFormatException: Invalid byte tag in constant pool
- org.apache.tomcat.util.bcel.classfile.ClassFormatException: null is not a Java .class file
- org.apache.tomcat.util.bcel.classfile.ClassFormatException: null is not a Java .class file
- org.apache.tomcat.util.bcel.classfile.ClassFormatException: null is not a Java .class file
- org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file 的解决方法
- org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file
- org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file
- ClassFormatException Invalid byte tag in constant pool
- org.apache.tomcat.util.bcel.classfile.ClassFormatException
- 使用maven构建 ssm项目 tomcat7插件运行报错, Invalid byte tag in constant pool: 60