HelloWorld (wrong name: com/mypackage/HelloWorld)

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 web9277

  • via Coderanch by Henry Wong, 9 months ago
    HelloWorld (wrong name: com/mypackage/HelloWorld)
  • via Coderanch by Alex George, 9 months ago
    HelloWorld (wrong name: com/mypackage/HelloWorld)
  • helloWorld (wrong name: helloworld/helloWorld)
  • Stack trace

    • java.lang.NoClassDefFoundError: HelloWorld (wrong name: com/mypackage/HelloWorld) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass( at at at$100( at$ at Method) at at java.lang.ClassLoader.loadClass( at sun.misc.Launcher$AppClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClassInternal(

    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
    Once, 23 hours ago
    Once, 1 month ago
    12 times, 1 month ago
    Unknown user
    Once, 2 months ago
    139 more bugmates