facebook

Servlet tomcat5.x debugging problem

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #230971 Reply

    ketan
    Member

    Hi!

    I’m new to MyEclipse. I have a servlet1 in my program which produces html page. Now when I run the program in debug mode with servlet1, it runs fine until the point where servlet1 code finishes. The error I’m getting is the following:

    httpservlet.class

    Class file editor
    source not found
    the jar file javax.servlet.jar has no source attachment.

    can you plz help me on this issue?. Thanks.

    Ketan.

    #230998

    Riyad Kalla
    Member

    Ketan,
    It seems that you are trying to step into code that is found in the servlet spec (javax.serlvet.*) we don’t ship source code (yet) for those libraries. I believe we will start doing this for our 4.0 release so it will be a lot smoother. I’m hesitant to walk you through doing this yourself because it’s a bit of a long process and can be confusing… also I can only think of very rare occasions where stepping into the server code actually helps. Let me know if you need this info.

    #231053

    ketan
    Member

    Hi!
    Thank you very much for sucha prompt reply. I understand what you are saying and I guess I don’t need to step into the server code. So what I did is after the last statement in servlet1 I hit the resume button and then it let me access the newly loaded html document( which servlet1 creates) in the myeclipse browser.
    Now I can debug web applications w/o any problems. Thanks for your help.
    Ketan.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Servlet tomcat5.x debugging problem

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