facebook

Stepping into code gets me Source not found [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #198940 Reply

    netizen1
    Member

    I’m stepping into the code when i step into the following the following code:

    File file = new File( xmlFile );
    if( file == null )
    throw new Exception( “Unable to open file” );

    SAXBuilder sax = new SAXBuilder();

    Its ok until i step over SAXBuilder which is part of the JDOM package.
    Now the jdom.jar file is part of the jar list in my project ( added under properties\java build path\libraries ). I even added it to the www root\WEB-INF\lib directory but it still fails?

    I’ve used this class hundreds of times and new to myeclipse. So i know i’m doing something wrong.

    Thanks

    #198948 Reply

    Scott Anderson
    Participant

    To be sure what is going on it would help if you’d post some details about your installation as requested in the “Posting Guidelines” announcement. Without such information we’re simply guessing without any context.

    As a guess, I’d assume the reason you can’t step into the source for SAXBuilder is that you haven’t associated a source jar with the jdom.jar library. If you right-click on jdom.jar you should be able to set a path to where to find the source jar. Once the source jar is configured, you should be able to step into the JDom source.

    –Scott
    MyEclipse Support

    #198955 Reply

    netizen1
    Member

    THanks. I was b/c the jdom.jar file needed to be in the lib directory. After adding it there it was all fine.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Stepping into code gets me Source not found [Closed]

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