facebook

the jar file javax.servlet.jar has no source attachment

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

    avryadav
    Member

    Hi,
    I want to debug servlets using tomcat 5.5.20 and myeclipse 5.0.
    When i start debugging, it comes to the break ponits where i placed.
    I want to see the code of servlets i.e source code of HttpServlet.java.

    There appars Attach Source box.

    Even after choosing (attaching) the apache-tomcat-5.5.20-src.jar. the source code of servlets is not displaying.

    I tried by unzip and attach source through folder, but it also gives the same result.

    can u please any one help me

    thanks
    avryadav@yahoo.co.in

    #265898 Reply

    Riyad Kalla
    Member

    You can’t attach the Tomcat source to the servlet JAr that we ship in the J2EE 1.4 Library Set, the reason for this is that code is from JBoss, so the code won’t match up with the Tomcat source.

    You will have to remove the LIbrary Set 1.4 libraries and add your own libraries from Tomcat *then* attach source to the Tomcat JAR.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: the jar file javax.servlet.jar has no source attachment

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