Debugging JSP's with Eclipse 2.1.0 and Tomcat 4.0.4 [message #25611] |
Thu, 01 May 2003 10:41  |
Eclipse User |
|
|
|
Originally posted by: rene.van.de.weerd.xs4all.nl
Sorry I am boring you all with a subject that has been talked about many
times before, but I tried about everything, read all the former posts,
tried even more, and it still does not work.
In short the problem:
Eclipse won't associate the JSP .java with .class files.
What did I do/try:
- I created a webapp with workdir <sourcedir>/org/apache/jsp
- I created a packed called org.apache.jsp in eclipse
- I added the tomcat jasper-runtime.jar libary to the project
- I run Tomcat in debug mode
- I tried the Sysdeo JSP debug fix
- I tried the workaround as described on their website
- I switched on compile for debugging in Tomcat JSP servlet
- I told eclipse that /org/apache/jsp was also a bin output location
The results:
The generated code appears in the org/apache/jsp directory, so do the
class files. The JSP's run fine. I can even set a breakpoint and eclipse
will stop the process at the right moment. BUT:
it can never find the source code associated with the class file.
I am beginning to believe that this is an eclipse bug.
Can anyone help me?
Kind regards,
Rene van de Weerd
(Used Eclipse Version: 2.1.0 Build id: 200303272130 => Official 2.1 release)
|
|
|
Re: Debugging JSP's with Eclipse 2.1.0 and Tomcat 4.0.4 [message #27361 is a reply to message #25611] |
Fri, 02 May 2003 03:50  |
Eclipse User |
|
|
|
Originally posted by: rene.van.de.weerd.xs4all.nl
The problem was gone after i upgraded Tomcat from 4.0.4 to 4.1.24.
Rene van de Weerd wrote:
> Sorry I am boring you all with a subject that has been talked about many
> times before, but I tried about everything, read all the former posts,
> tried even more, and it still does not work.
>
> In short the problem:
> Eclipse won't associate the JSP .java with .class files.
>
> What did I do/try:
> - I created a webapp with workdir <sourcedir>/org/apache/jsp
> - I created a packed called org.apache.jsp in eclipse
> - I added the tomcat jasper-runtime.jar libary to the project
> - I run Tomcat in debug mode
> - I tried the Sysdeo JSP debug fix
> - I tried the workaround as described on their website
> - I switched on compile for debugging in Tomcat JSP servlet
> - I told eclipse that /org/apache/jsp was also a bin output location
>
> The results:
> The generated code appears in the org/apache/jsp directory, so do the
> class files. The JSP's run fine. I can even set a breakpoint and eclipse
> will stop the process at the right moment. BUT:
> it can never find the source code associated with the class file.
>
> I am beginning to believe that this is an eclipse bug.
>
> Can anyone help me?
>
> Kind regards,
> Rene van de Weerd
>
> (Used Eclipse Version: 2.1.0 Build id: 200303272130 => Official 2.1
> release)
>
|
|
|
Powered by
FUDForum. Page generated in 0.02459 seconds