Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    If you're using multiple frameworks on your project, check if this is not a problem between mismatched versions of javassist between them.

Solutions on the web

via Stack Overflow by DefermentNL
, 1 year ago
Error while reading file:/...path to project/target/classes/
via Hibernate JIRA by Oleksandr Gavenko, 2 years ago
via Hibernate JIRA by Oleksandr Gavenko, 1 year ago
java.io.IOException: invalid constant type: 18	at javassist.bytecode.ConstPool.readOne(ConstPool.java:1113)	at javassist.bytecode.ConstPool.read(ConstPool.java:1056)	at javassist.bytecode.ConstPool.(ConstPool.java:150)	at javassist.bytecode.ClassFile.read(ClassFile.java:765)	at javassist.bytecode.ClassFile.(ClassFile.java:109)	at org.hibernate.ejb.packaging.AbstractJarVisitor.checkAnnotationMatching(AbstractJarVisitor.java:246)	at org.hibernate.ejb.packaging.AbstractJarVisitor.executeJavaElementFilter(AbstractJarVisitor.java:212)	at org.hibernate.ejb.packaging.AbstractJarVisitor.addElement(AbstractJarVisitor.java:173)	at org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:126)	at org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:134)	at org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:134)	at org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:134)	at org.hibernate.ejb.packaging.ExplodedJarVisitor.doProcessElements(ExplodedJarVisitor.java:92)	at org.hibernate.ejb.packaging.AbstractJarVisitor.getMatchingEntries(AbstractJarVisitor.java:149)	at org.hibernate.ejb.packaging.NativeScanner.getFilesInJar(NativeScanner.java:192)	at org.hibernate.ejb.packaging.NativeScanner.getFilesInJar(NativeScanner.java:195)	at org.hibernate.ejb.Ejb3Configuration.addScannedEntries(Ejb3Configuration.java:506)	at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:861)