Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-10-2007, 12:15 AM
Member
 
Join Date: Apr 2007
Location: Pennsylvania,USA
Posts: 46
sandor is on a distinguished road
eclipse classloader problem
I had not worked on this particular application in a couple of days. When I opened up eclipse it had a red x on the project but nothing inside had any red xs. I tried to run my suite of tests to see if I could pinpoint what was wrong and it looks like a class Loader issue.
Here is what I get as an error message.
I have the class called AllTests open and I am running it as a JUnit . It has worked for weeks until today. Any clue what might have happened? My computer just did some update before this happened ...some automatic windows thing, so that has me suspicious.
Thanks.


class not found test.AllTests
java.lang.ClassNotFoundException: test.AllTests
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.loadClass(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.loadClasses(RemoteTestRunner.java:425)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.runTests(RemoteTestRunner.java:445)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.main(RemoteTestRunner.java:196)
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-10-2007, 03:10 AM
Member
 
Join Date: Apr 2007
Location: Indiana
Posts: 84
pegitha is on a distinguished road
Send a message via Skype™ to pegitha
Check and see if somehow the reference to the jvm got broken. Maybe that update function from windoze did it. Is there a warning triangle in the properties build path?
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-10-2007, 04:26 PM
Member
 
Join Date: Apr 2007
Location: Pennsylvania,USA
Posts: 46
sandor is on a distinguished road
You were right. The update installed a jre1_5_11 and fubarred my path. Good grief. I make enough of my own errors without having them come in out of the blue.
thanks.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hibernator with eclipse : Problem in establishing the connection abhibh_1 Eclipse 2 09-01-2008 01:09 PM
problem from sun's java to eclipse doood123 Eclipse 0 12-18-2007 05:38 AM
SDE for Eclipse 4.1 levent Java Announcements 0 08-04-2007 08:47 PM
My own ClassLoader didn't work. snooze-g Advanced Java 1 07-17-2007 12:12 PM
SDE for Eclipse 4.0 SP2 levent Java Announcements 0 05-15-2007 06:49 AM


All times are GMT +3. The time now is 08:29 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org