java.lang.NoClassDefFoundError

ofelia_inventory_4/Ofelia_Inventory_4 (wrong name: Ofelia_Inventory_4/Ofelia_Inventory_4)

Samebug tips1

Look if your classpath is correct, and check if the versions of your libraries match the version you described in your pom.xml

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

Solutions on the web1389

  • via Coderanch by Os Stewart, 11 months ago
    ofelia_inventory_4/Ofelia_Inventory_4 (wrong name: Ofelia_Inventory_4/Ofelia_Inventory_4)
  • via Oracle Community by 807599, 1 week ago
    payroll (wrong name: Payroll)
  • via Oracle Community by 807597, 1 year ago
    MyClass (wrong name: com.myco.myapp.MyClass)
  • Stack trace

    • java.lang.NoClassDefFoundError: ofelia_inventory_4/Ofelia_Inventory_4 (wrong name: Ofelia_Inventory_4/Ofelia_Inventory_4) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

    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, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    150 more bugmates