Invalid byte tag in constant pool: 19】的更多相关文章

环境: windows 2008 server R2   ; tomcat 8.5.3 ;   jdk-1.8.0_91 故障截图: 报的就是 Invalid byte tag in constant pool: 19 错误, 网上一顿猛搜, 基本上的解决方案都指向了web.xml文件, 网上提供的思路截图: 但是我打开我的 web.xml发现跟截图上的并不一样, 我的web.xml是下面的内容, 那也可以试试吧(由于无效,已经被我注释): 问题还是得解决: 再看看错误提示: 那就去lib目录下…
在Maven上部署Struts2时,突然发生了如下错误,但是tomcat还能运行,发送错误的原因时Struts2的版本太高,和tomcat7不兼容. 开始Struts2用了2.5.20版本,后来换成2.5.14就不报错了 org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19 at org.apache.tomcat.util.bcel.classfile.…
整个生产环境采用JDK1.8 + Tomcat 7.0.65 代码重构后,启动报错,主要异常如下: 严重: Unable to process Jar entry [module-info.class] from Jar [jar:file:/home/unisound/private_cloud_platform/device_center/apache-tomcat-7.0.65/webapps/device-center/WEB-INF/lib/lombok-1.18.2.jar!/] f…
最近项目升级jdk,从jdk7 升级到 jdk8,本地已经自测完成了,需要部署到测试环境,测试环境已经装好 jdk8 了,但是tomcat 的版本还是 7.不过,据我之前了解,tomcat7是可以运行JDK8编译的web工程的,只要tomcat的运行环境的JDK是1.8即可.但是不能有比JDK1.8还要新的特性.所以最终决定不升级 tomcat 版本. 等我把项目部署到 测试环境 tomcat 下后,项目是可以跑起来的且能正常运行,但是在项目启动过程中,报了一堆错: SEVERE: Unable…
今天偶到一个奇怪的问题: 三台生产服务器部署同样的代码,同样的tomcat ,jdk等环境. 其中有一台服务器启动时报lombok-1.18.6.jar!   Invalid byte tag in constant pool: 19  (如下图)的错误,其它二台能正常运行 网上说:lombok-1.18.X.jar 这个版本,而所用的服务器是 Tomcat 7.0,这两个版本的兼容问题.问题来了,其它二台为何又能正常?? 解决方案有以下三种: 将 lombok-1.18.x 版本降低到 lom…
  maven org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60 CreateTime--2018年4月19日18:09:26 Author:Marydon 情景描述: maven创建的web项目,使用tomcat7启动,报错 解决方案: 这是tomcat的缺陷,换成tomcat8运行该web项目就好了 相关推荐:  maven Failed to e…
上面一堆tomcat启动的提示信息省略掉,下面是报错的具体信息:org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15 at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:131) at org.apache.tomcat.util.bcel.classfi…
错误日志: [WARNING] [WARNING] Some problems were encountered while building the effective settings[WARNING] Unrecognised tag: 'profile' (position: START_TAG seen ...</activation> -->\n\t\t<profile>... @264:12) @ D:\DevSoftInstall\apache-maven-3…
Linux服务器上,将本地编译好的文件上传后,Tomcat启动时报错: Exception in thread "Thread-2" java.lang.ClassFormatError: Illegal UTF8 string in constant pool in class file Server/Request at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.define…
<plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.1-beta-1</version> <configuration> <warName>admingift</warName> <webRe…