java.lang.NoClassDefFoundError

ItemEvent

Samebug tips8

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

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

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

Solutions on the web1

  • via Coderanch by Esben Christensen, 9 months ago
    ItemEvent
  • Stack trace

    • java.lang.NoClassDefFoundError: ItemEvent at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getDeclaredMethod(Class.java:1935) at java.awt.Component.isCoalesceEventsOverriden(Component.java:5901) at java.awt.Component.access$400(Component.java:169) at java.awt.Component$4.run(Component.java:5855) at java.awt.Component$4.run(Component.java:5853) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Component.checkCoalescing(Component.java:5852) at java.awt.Component.<init>(Component.java:5821) at java.awt.Container.<init>(Container.java:251) at javax.swing.JComponent.<init>(JComponent.java:581) at javax.swing.JPanel.<init>(JPanel.java:65) at javax.swing.JPanel.<init>(JPanel.java:92) at javax.swing.JPanel.<init>(JPanel.java:100) at skolehjælp.Panelet.<init>(Panelet.java:9) at skolehjælp.Main.main(Main.java:11) Caused by: java.lang.ClassNotFoundException: ItemEvent at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 17 more

    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

    Unknown user
    Once, 2 weeks ago
    4 times, 1 month ago
    Once, 1 month ago
    Unknown user
    Once, 2 months ago
    Unknown user
    Once, 2 months ago
    1195 more bugmates