java.lang.NoClassDefFoundError: javax/ejb/CreateExcep tion
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
You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA
- Expert tip
This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k
Solutions on the web
via Oracle Community by 973714, 1 year ago
via Oracle Community by Venuy2k, 1 year ago
via Oracle Community by Juanavila-Oracle, 1 year ago
via Oracle Community by user243865, 1 year ago
via Oracle Community by 408426, 1 year ago
via blogspot.com by Unknown author, 2 years ago
java.lang.ClassNotFoundException: javax.ejb.CreateException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getDeclaredMethod(Unknown Source)
at java.awt.Component.isCoalesceEventsOverriden(Unknown Source)
at java.awt.Component.access$500(Unknown Source)
at java.awt.Component$3.run(Unknown Source)
at java.awt.Component$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Component.checkCoalescing(Unknown Source)
at java.awt.Component.
(Unknown Source) at java.awt.Container.
(Unknown Source) at java.awt.Window.
(Unknown Source) at java.awt.Frame.
(Unknown Source) at java.awt.Frame.
(Unknown Source) at javax.swing.JFrame.
(Unknown Source) at com.thortech.xl.gui.base.tcFrame.
(tcFrame.java:34) at com.thortech.xl.client.base.tcAppWindow.
(tcAppWindow.java:104) at com.thortech.xl.client.base.tcAppWindow.main(tcAppWindow.java:173)