java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: sockets/SocketServer

Oracle Community | 807554 | 2 decades ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Writting a ClassLoader

    Oracle Community | 2 decades ago | 807554
    java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: sockets/SocketServer

    Root Cause Analysis

    1. java.lang.reflect.InvocationTargetException

      java.lang.NoClassDefFoundError: sockets/SocketServer

      at sockets.SocketServerTest.test()
    2. sockets
      SocketServerTest.main
      1. sockets.SocketServerTest.test(SocketServerTest.java)
      2. sockets.SocketServerTest.main(SocketServerTest.java)
      2 frames
    3. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    4. loader
      AtaeClassLoaderTest.main
      1. loader.AtaeClassLoaderTest.main(AtaeClassLoaderTest.java)
      1 frame