Results 1 to 2 of 2
  1. #1
    jadeite100 is offline Member
    Join Date
    Dec 2009
    Rep Power

    Default Jsp source not found

    Hi All:

    I am using Eclipse 3.5 and the Tomcat 6 and Weblogic 11g.
    I download the Oracle Eclipse Plugin "//". When I debug the jsp with ecliipse and Tomcat 6, it gives me the error "Source not found". It cannot find the jsp but it gives me the line number it is on in the jsp. Also in debug mode, under Variables tab, it shows the list of variables and their value. I started Tomcat6 within Eclipse.

    I have the same problem with Eclipse 3.5 and Weblogic 11g. I started Weblogic 11g within Eclipse.

    Any hint or help would be greatly appreciated it.



  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Rep Power


    the eclipse debugger works with java source code. for your code in your project, it knows where this is, it's your java sources. for third party libraries, such as .jar files that provide additional API used by the [web] application, eclipse project can be configured to know where to look for the sources that correspond to each .jar file.

    Now for JSP pages, they start off as a .JSP, and the JSP servlet transforms them into a .java while, and then compiles that into a .class path, which then exists in the web application's class path. So it is possible that eclipse doesn't know where to look for the generated java sources from the JSP files.

    I have never tried to do the debug of JSP in tomcat in eclipse like this, but I am guessing there should be a temp folder or a work folder some place within the tomcat instance in eclipse, try to find the top level of the packages, usually a JSP compiles into the package org.apache.jasper....,and then add that work folder of .java files as a source folder to the project. ?

Similar Threads

  1. python source to java source converter?
    By conor147 in forum New To Java
    Replies: 0
    Last Post: 01-15-2010, 05:14 AM
  2. Replies: 0
    Last Post: 01-29-2009, 10:43 AM
  3. Replies: 1
    Last Post: 11-28-2008, 06:27 PM
  4. Replies: 0
    Last Post: 11-22-2008, 01:49 AM
  5. Strange error message "Source not found"
    By ppayal in forum Eclipse
    Replies: 0
    Last Post: 11-25-2007, 06:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts