Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.net.URLClassLoader$1.run(URLClassLoader.java:217) [message #661757] Sun, 27 March 2011 13:33 Go to next message
Nyx is currently offline NyxFriend
Messages: 5
Registered: March 2011
Junior Member
Hiya,

I was running my java project fine, but I suddenly started getting the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: DrawConnect4
Caused by: java.lang.ClassNotFoundException: DrawConnect4
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: DrawConnect4. Program will exit.

For all my classes and my class files all disappeared. I have a project due in tomorrow morning and I really need to run these classes!

Ubuntu 10.10.

Thanks
Re: at java.net.URLClassLoader$1.run(URLClassLoader.java:217) [message #662463 is a reply to message #661757] Wed, 30 March 2011 17:34 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 3/27/11 9:33 AM, Nyx wrote:
> Hiya,
>
> I was running my java project fine, but I suddenly started getting the
> following error:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: DrawConnect4
> Caused by: java.lang.ClassNotFoundException: DrawConnect4
> 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: DrawConnect4. Program will exit.
>
> For all my classes and my class files all disappeared. I have a project
> due in tomorrow morning and I really need to run these classes!
>
> Ubuntu 10.10.

You haven't really given enough information to help, but I'll speculate
that your project has build path problems that must be resolved. What
shows up in your Problems view?

Eric
Previous Topic:Failed to create the Java Virtual Machine
Next Topic:Eclipse PHP
Goto Forum:
  


Current Time: Fri Apr 26 19:38:12 GMT 2024

Powered by FUDForum. Page generated in 0.07596 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top