java.lang.ClassNotFoundException

Main > at > com.sun.enterprise.loader.EJBClassLoader.findClassData(EJBClassLoader.java:741) > at > com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:631) >

Samebug tips5

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1301

  • via Oracle Community by 392 Guest, 11 months ago
    Main > at > com.sun.enterprise.loader.EJBClassLoader.findClassData(EJBClassLoader.java:741) > at > com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:631) >
  • via Oracle Community by 392 Guest, 11 months ago
    sun.security.pkcs11.SunPKCS11 >> java.lang.RuntimeException: java.lang.ClassNotFoundException: >> sun.security.pkcs11.SunPKCS11 >> ... >> Caused by: java.lang.ClassNotFoundException: >> sun.security.pkcs11.SunPKCS11 >> at >> com.sun.enterprise.loader.EJBClassLoader.findClassData(EJBClassLoader.java:738) >> at >> com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:628) >>
  • via Oracle Community by 392 Guest, 11 months ago
    junit.framework.TestCase > > at > com.sun.enterprise.loader.EJBClassLoader.findClassData(EJBClassLoader.java:737) > > > at > com.sun.enterprise.loader.EJBClassLoader$DelegatingClassLoader.findClass(EJBClassLoader.java:1376) > > >
  • Stack trace

    • java.lang.ClassNotFoundException: Main > at > com.sun.enterprise.loader.EJBClassLoader.findClassData(EJBClassLoader.java:741) > at > com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:631) > at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 3 hours ago
    17 times, 4 days ago
    2 times, 4 days ago
    Unknown user
    Once, 1 week ago
    3 times, 1 week ago
    1929 more bugmates