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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message