Tuesday, 2 January 2007
JSP Precompilation Horror With Tomcat 5.5 and Maven
Another day wasted on a little but unknown issue with the JSP Precompilation for Tomcat 5.5 with Maven. Finally I found a hint in a dark corner of the Google Universe. Maven 1.x is such a great build tool but when it goes wrong then it goes terrible wrong. The old, ant based project generated and compiled the JSP pages without a problem but when I converted to Maven it failed from the get-go. Then I found a page on the Maven 1.x website with a Jelly script to precompile JSP pages. I used that as a starting point even though tha keep on reading here
Posted by at 10:07 PM in J2EE
You have to put the <classloader>root</classloader> property to all dependency necessary to compile the JSP pages.
-Andy

Hello, thanks for the post !
I encountered the same problem. In the post you talk about the dependency property "<classloader>root</classloader>". But i don't understand to which dependency you've had this property.
Thanks for your help