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

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

,
Expert tip

A few things cause this exception:
1) Check if you have all jars and if they're in the correct path.
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.

,
Expert tip

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.

Solutions on the web

via Oracle Community by 392 Guest, 1 year ago
Main > at > com.sun.enterprise.loader.EJBClassLoader.findClassData(EJBClassLoader.java:741) > at > com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:631) >
via nabble.com by Unknown author, 2 years ago
org.example.MyUtil at > org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506) at > org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422) at > org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410) at > org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
via nabble.com by Unknown author, 1 year ago
>> org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite at >> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:494) >> at >> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410
via yahoo.com by Unknown author, 2 years ago
net.minecraft.Launcher at sun.plugin2.applet.Applet2ClassLoader.fi... Source) at sun.plugin2.applet.Plugin2ClassLoader.lo... Source) at sun.plugin2.applet.Plugin2ClassLoader.lo... Source) at sun.plugin2.applet.Plugin2ClassLoader.lo... Source)
via gmane.org by Unknown author, 2 years ago
antlr.collections.AST at >> org.codehaus.groovy.tools.RootLoader.findClass(RootLoader.java:156)
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)

Users with the same issue

13 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.