java.lang.NoClassDefFoundError

While trying to start the managed server it shows error as below

Exception in thread "main"
java.lang.NoClassDefFoundError: number
Caused by: java.lang.ClassNotFoundException: number
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:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

Please check below two links for troubleshooting the same:

http://javarevisited.blogspot.com/2011/06/noclassdeffounderror-exception-in.html
http://examples.javacodegeeks.com/java-basics/exceptions/java-lang-noclassdeffounderror-how-to-solve-no-class-def-found-error/

You can try “-verbose:class” JVM switch in 10.3.0 domain where there were no errors and check whether JVM tries to load class  and if it does then you would also find from which jar file it gets loaded.

 

 

Leave a Reply