facebook

Exception on debugging

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #250222 Reply

    sunil76
    Member

    Hi ,

    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: 319

    I am getting the above error when i try to debug a junit test file.

    Any help will be appreciated
    Sunil

    #250235

    Riyad Kalla
    Member

    Moving 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.

    #250264

    sunil76
    Member

    Thanks for your reply,
    Yes Junit.jar is in build path.

    sunil

    #250273

    sunil76
    Member

    Riyad,
    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.

    #250281

    Riyad Kalla
    Member

    Sunil,
    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.

    #250286

    sunil76
    Member

    Riyad,
    Cleard the debug history, still am getting the same error. where should i check for “classpath for the debugging runtime “.

    Thank you
    sunil

    #250292

    Riyad Kalla
    Member

    Sunil,
    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.

    #250418

    sunil76
    Member

    Riyad,
    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

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Exception on debugging

You must be logged in to post in the forum log in