Nap Nap - 3 years ago 82
Java Question

Eclipse cannot find java file generated via jsp on the work folder

I am currently programming using Eclipse 3.4.1 and using the Apache 5.5 as backend server. I am also using the com.sysdeo.eclipse.tomcat_3.2.1 plugin for tomcat.

I was just wondering, when I encounter an error and prints the stack trace for the exception. I always would see the line code where the error occured on the java work file generated from JSP file. However, when I try to click on the link, it saids source not found for "org.apache.jsp.WResultReportList_jsp".

at org.apache.jsp.WResultReportList_jsp._jspService(
at org.apache.jasper.runtime.HttpJspBase.service(

I was wondering how I could configure eclipse to be able to find that work file and open the specific line of code where the error occurred?

Is it even possible to point the error to the location of the actual JSP file? Or is it just able to find the error line number for the java generated work file?

Answer Source

Project -> Properties -> Java Build Path -> Source -> Link source...

Linked folder location: C:\tomcat 7.0\work\Catalina\localhost\application_name

Press "Finish".

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download