Programmers learn & share
0 votes
401 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
by (6.9k points)   | 401 views

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.
by (36.1k points)  
2,245 questions
2,807 answers
60 comments
241 users