• Register
0 votes

Problem :

Getting strange error related to constant pool as follows
org.apache.tomcat.util.bcel.classfile.classformatexception: invalid byte tag in constant pool: 19
6.9k points

1 Answer

0 votes

Solution :

This was actually a Tomcat bug that resurfaced again with the Java 9 bytecode. The exact versions which can fix this for both Java 8/9 bytecode are as follows:

  • trunk for 9.0.0.M18 and onwards
  • 8.5.x for 8.5.12 and onwards
  • 8.0.x for 8.0.42 and onwards
  • 7.0.x for 7.0.76 and onwards
If you follow above approch then your issue will be resolved.
36.1k points

Related questions

1 vote
1 answer 190 views
Problem : I am very new to Eclipse, Tomcat and Java. Currently I am using Eclipse Neon and Tomcat server 9.0 and also the JDK 1.8. Everything was working perfectly well but unfortunately the current setup is now showing me below error: Starting tomcat v9.0 server at localhost ... app which I am currently working on. I have spent two days on above issue. So now I am looking for expert help on it.
asked May 18 Martin K 6.6k points
0 votes
1 answer 160 views
Problem : Currently I am trying to develop the REST API using the Spring Framework I am unable to run my application because of below error. Description: The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may ... this application to listen on another port. My 8080 port on my PC is seems to be busy. How can I fix this issue?
asked Feb 28 mphil 2.3k points
0 votes
1 answer 884 views
Problem : I have already placed the JSTL JAR file in the WEB-INF/lib directory. But still, the JSP can't resolve the taglib. I get the below error: Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
asked Oct 19, 2019 peterlaw 6.9k points
0 votes
1 answer 17 views
Problem: I have very recently integrated my Tomcat 7 in Eclipse. If I start Tomcat 7 using Eclipse then it shows that my Tomcat is up and running but if I go to http://localhost:8080 in the browser then it gives me following error: HTTP Status 404 - / type Status report ... is already in use by some other service but that did not work either for me. How can I fix above error related to Tomcat 7?
asked 6 days ago Raphael Pacheco 2.7k points
1 vote
1 answer 34 views
Problem: I am very new to Tomcat, Eclipse and Java. I am currently learning to use this combination. My current project which used to work perfectly fine before this weekend I know I have other problems with my code but at least my Tomcat was working. But now if I ... already tried a lot to find the solution on it but with no success. So looking for tomcat expert who can fix this problem for me.
asked May 18 Martin K 6.6k points