• Register
0 votes
1k 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

Please log in or register to answer this question.

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 32 views
32 views
Problem: Where could I find the answer : Org.apache.tomcat.util.bcel.classfile.classformatexception: invalid byte tag in constant pool: 18?
asked Jun 10 Irenka Kiri 85.5k points
0 votes
1 answer 17 views
17 views
Problem: What exactly is the solution : Org.apache.catalina.lifecycleexception: failed to start component [standardserver[8005]]?
asked Jun 12 Mezbah 130k points
0 votes
1 answer 2 views
2 views
Problem: Invalid byte tag in constant pool: 19.
asked Jul 27 akhi 125k points
0 votes
1 answer 7 views
7 views
Problem: What exactly is the solution : Apache tomcat the requested resource is not available?
asked Jun 25 Nahil 128k points
0 votes
1 answer 6 views
6 views
Problem: What exactly is the problem : Description the requested resource is not available. tomcat 7?
asked Jun 22 Aurelia Maja 78.4k points
0 votes
1 answer 19 views
19 views
Problem: Please,I want an answer : Could not publish server configuration for tomcat v7.0 server at localhost.
asked Jun 17 Sawyer Parviz 168k points
0 votes
1 answer 12 views
12 views
Problem: What should I do with this : The required server component failed to start so tomcat is unable to start.?
asked Jun 17 Sawyer Parviz 168k points
0 votes
1 answer 32 views
32 views
Problem: Is there anyone who knows how to fix this problem : Tomcat version 6.0 only supports j2ee 1.2, 1.3, 1.4, and java ee 5 web modules?
asked Jun 14 Nahil 128k points
0 votes
1 answer 79 views
79 views
Problem: I'm using Eclipse Oxygen.2 (4.7.2) on Windows 10 with Java 8. I have a faceted project I run inside Eclipse using Tomcat. I had been using Tomcat 8.5, but on a new system I upgraded to Tomcat 9. Of course I removed the Tomcat 8.5 server and server ... what it was. What do I do? Where does the problem lie? I opened Eclipse Bug 530844 to see if I can get some reasons for this behavior.
asked Apr 25 ochena 23.3k points
0 votes
1 answer 193 views
193 views
Problem: I'm getting the following error when I try to run a simple JSP program on Tomcat in Eclipse. Several ports (8005, 8080, 8009) required by Tomcat v6.0 Server at localhost are already in use. The server may already be running in another process, or a system process ... server you will need to stop the other process or change the port number(s). How is this caused and how can I solve it?
asked Apr 25 sumaiya simi 43.9k points