- This topic has 7 replies, 2 voices, and was last updated 19 years, 3 months ago by
sunil76.
-
AuthorPosts
-
sunil76MemberHi ,
Thread [main] (Suspended (exception ClassNotFoundException))
ClassLoader.findBootstrapClass(String) line: not available [native method]
Launcher$ExtClassLoader(ClassLoader).findBootstrapClass0(String) line: 891
Launcher$ExtClassLoader(ClassLoader).loadClass(String, boolean) line: 301
Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: 299
Launcher$AppClassLoader.loadClass(String, boolean) line: 268
Launcher$AppClassLoader(ClassLoader).loadClass(String) line: 251
Launcher$AppClassLoader(ClassLoader).loadClassInternal(String) line: 319I am getting the above error when i try to debug a junit test file.
Any help will be appreciated
SunilApril 10, 2006 at 6:28 pm #250235
Riyad KallaMemberMoving to OT > Soft Dev
Debugging client code is handled by the Eclipse JDT.
If you are getting ClassNotFoundExceptions double check that you have added JUnit.jar to your build path.
April 11, 2006 at 9:23 am #250264
sunil76MemberThanks for your reply,
Yes Junit.jar is in build path.sunil
April 11, 2006 at 10:44 am #250273
sunil76MemberRiyad,
The above error is occured, when i try to debug the application. I can successfully run the application. Since this is a unit test application. i want to debug my app.
Please do let me know if u have any solution.
Thank you
sunil.April 11, 2006 at 11:42 am #250281
Riyad KallaMemberSunil,
Go to Debug > Run As… > then select the debug config that you have been running and erase it, then right click and create a new one with all the default settings. I wonder if the classpath for the debugging runtime was changed.April 11, 2006 at 12:40 pm #250286
sunil76MemberRiyad,
Cleard the debug history, still am getting the same error. where should i check for “classpath for the debugging runtime “.Thank you
sunilApril 11, 2006 at 3:29 pm #250292
Riyad KallaMemberSunil,
Please print your entire exception, I have a feeling this junit stuff is a red herring and you are most likely missing something like some J2EE classes.April 13, 2006 at 8:46 am #250418
sunil76MemberRiyad,
Thats the entire exception. Its wiered i can run all the test cases . I think there i s some problem with junit3.8 and eclipse.
Every forum i checked guys had same problem without any solution.Hope u guys can figure out the solution.
sunil
-
AuthorPosts