Results 1 to 3 of 3
Thread: eclipse classloader problem
- 05-09-2007, 11:15 PM #1
Member
- Join Date
- Apr 2007
- Location
- Pennsylvania,USA
- Posts
- 45
- Rep Power
- 0
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)
- 05-10-2007, 02:10 AM #2
Member
- Join Date
- Apr 2007
- Location
- Indiana
- Posts
- 83
- Rep Power
- 0
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?
- 05-10-2007, 03:26 PM #3
Member
- Join Date
- Apr 2007
- Location
- Pennsylvania,USA
- Posts
- 45
- Rep Power
- 0
Similar Threads
-
Hibernator with eclipse : Problem in establishing the connection
By abhibh_1 in forum EclipseReplies: 5Last Post: 11-08-2008, 06:15 AM -
problem from sun's java to eclipse
By doood123 in forum EclipseReplies: 0Last Post: 12-18-2007, 04:38 AM -
SDE for Eclipse 4.1
By levent in forum Java SoftwareReplies: 0Last Post: 08-04-2007, 07:47 PM -
My own ClassLoader didn't work.
By snooze-g in forum Advanced JavaReplies: 1Last Post: 07-17-2007, 11:12 AM -
SDE for Eclipse 4.0 SP2
By levent in forum Java SoftwareReplies: 0Last Post: 05-15-2007, 05:49 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks