java.lang.RuntimeException: Error while reading file:/...path to project/target/classes/

Stack Overflow | DefermentNL | 4 months ago
  1. 0

    IDE fails to run spring boot invalid constant type 18

    Stack Overflow | 4 months ago | DefermentNL
    java.lang.RuntimeException: Error while reading file:/...path to project/target/classes/
  2. 0

    Java JPA Hibernate Connection Issue

    Stack Overflow | 2 years ago
    java.lang.ExceptionInInitializerError
  3. 0

    Error creating entityManagerFactory due to error tying to scan <jar-file>

    Stack Overflow | 2 years ago | Chad
    java.lang.RuntimeException: Error while reading file:/E:/Files/Source/Workspace-Eclipse2/scrumster/bin/
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't create bean 'entityManagerFactory' in spring.xml

    Stack Overflow | 2 years ago | AnhNguyen
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring-data.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: error trying to scan <jar-file>: file:/C:/Users/Sony/Documents/NetBeansProjects/PCRFWebConfig/build/web/WEB-INF/classes/

    12 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      invalid constant type: 18

      at javassist.bytecode.ConstPool.readOne()
    2. Javassist
      ClassFile.<init>
      1. javassist.bytecode.ConstPool.readOne(ConstPool.java:1113)[javassist-3.15.0-GA.jar:na]
      2. javassist.bytecode.ConstPool.read(ConstPool.java:1056)[javassist-3.15.0-GA.jar:na]
      3. javassist.bytecode.ConstPool.<init>(ConstPool.java:150)[javassist-3.15.0-GA.jar:na]
      4. javassist.bytecode.ClassFile.read(ClassFile.java:765)[javassist-3.15.0-GA.jar:na]
      5. javassist.bytecode.ClassFile.<init>(ClassFile.java:109)[javassist-3.15.0-GA.jar:na]
      5 frames
    3. Hibernate EJB
      Ejb3Configuration.scanForClasses
      1. org.hibernate.ejb.packaging.AbstractJarVisitor.checkAnnotationMatching(AbstractJarVisitor.java:246)[hibernate-entitymanager-4.2.8.Final.jar:4.2.8.Final]
      2. org.hibernate.ejb.packaging.AbstractJarVisitor.executeJavaElementFilter(AbstractJarVisitor.java:212)[hibernate-entitymanager-4.2.8.Final.jar:4.2.8.Final]
      3. org.hibernate.ejb.packaging.AbstractJarVisitor.addElement(AbstractJarVisitor.java:173)[hibernate-entitymanager-4.2.8.Final.jar:4.2.8.Final]
      4. org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:126)[hibernate-entitymanager-4.2.8.Final.jar:4.2.8.Final]
      5. org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:134)[hibernate-entitymanager-4.2.8.Final.jar:4.2.8.Final]
      6. org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:134)[hibernate-entitymanager-4.2.8.Final.jar:4.2.8.Final]
      7. org.hibernate.ejb.packaging.ExplodedJarVisitor.getClassNamesInTree(ExplodedJarVisitor.java:134)[hibernate-entitymanager-4.2.8.Final.jar:4.2.8.Final]
      8. org.hibernate.ejb.packaging.ExplodedJarVisitor.doProcessElements(ExplodedJarVisitor.java:92)[hibernate-entitymanager-4.2.8.Final.jar:4.2.8.Final]
      9. org.hibernate.ejb.packaging.AbstractJarVisitor.getMatchingEntries(AbstractJarVisitor.java:149)[hibernate-entitymanager-4.2.8.Final.jar:4.2.8.Final]
      10. org.hibernate.ejb.packaging.NativeScanner.getFilesInJar(NativeScanner.java:192)[hibernate-entitymanager-4.2.8.Final.jar:4.2.8.Final]
      11. org.hibernate.ejb.packaging.NativeScanner.getFilesInJar(NativeScanner.java:195)[hibernate-entitymanager-4.2.8.Final.jar:4.2.8.Final]
      12. org.hibernate.ejb.Ejb3Configuration.addScannedEntries(Ejb3Configuration.java:506)[hibernate-entitymanager-4.2.8.Final.jar:4.2.8.Final]
      13. org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:861)[hibernate-entitymanager-4.2.8.Final.jar:4.2.8.Final]
      13 frames