Error on running the program : Exception in thread "main" java.lang.NoClassDefFoundError

26 views
Skip to first unread message

dinesh kumar

unread,
Jan 1, 2014, 6:19:33 AM1/1/14
to cdiadv...@googlegroups.com
Hi all,


         I get the following error when I run the program.

          Exception in thread "main" java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException:
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: . Program will exit.

Tools used -

1. Eclipse Juno
2. Maven 3 in IDE, Maven 2.2 in System


Thanks in advance.

Khemais Menzli

unread,
Feb 28, 2014, 8:05:40 AM2/28/14
to cdiadv...@googlegroups.com

I get the same exception
Reply all
Reply to author
Forward
0 new messages