• Register
0 votes
764 views

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.
38.6k points

Related questions

0 votes
1 answer 48 views
48 views
Problem: I am very new to Tomcat Server and Eclipse IDE. I have recently downloaded and installed the tomcat apache server and also tried to configure 8080 port on it.Now it is running very successfully on my pc. And after that I have also downloaded and installed ... > </html> But whenever I try to run it I receive below error: Starting tomcat server at localhost has encountered a problem.
asked Aug 20 Raphael Pacheco 4.9k points
1 vote
1 answer 957 views
957 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 574 views
574 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 1.3K views
1.3K 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 82 views
82 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 Aug 2 Raphael Pacheco 4.9k points