java.lang.NoClassDefFoundError: com/me/pack2/OtherClass

Oracle Community | 843804 | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Packages in separate Jars causes classpath error

    Oracle Community | 7 years ago | 843804
    java.lang.NoClassDefFoundError: com/me/pack2/OtherClass

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      com/me/pack2/OtherClass

      at com.me.pack1.MainClass.main()
    2. com.me.pack1
      MainClass.main
      1. com.me.pack1.MainClass.main(MainClass.java:13)
      1 frame