facebook

Cant debug jsp file with Tomcat 5.5/tomcat plugin for eclips

💡
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 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #260386 Reply

    tehlen
    Member

    I had an existing installation of Tomcat 5.5 with a mature project that is utilizing the Tomcat plugin for eclipse. My project directory is neither in my projects or webapps directories in Tomcat (don’t know if that matters).

    I just installed MyEclipse to let me debug jsp files, however it does not work. I can set breakpoints and they do stop, but eclipse IDE jumps to _jspService with an error saying:

    “Source not found for viewDocument.jsp line 24”

    Is there anything I can do to connect the 2 so the debugger knows where to find the jsp file?

    #260503

    Riyad Kalla
    Member

    Most of the time when MyEclipse doesn’t know which JSP file you rae stopped at is because your project does not have Web Capabilities added to it and MyEclipse cannot map the source map it gets back from Tomcat back to an actual file in your project under the WebRoot. If this is your setup, that is most likely why it’s not working.

    If you have java project, you can add web caps to it by right clicking, going down to MyEclipse and clicking Add Web Capabilities. Be sure to fill out the path information accurately.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Cant debug jsp file with Tomcat 5.5/tomcat plugin for eclips

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