Hi,

I am experiencing a really weird situation here. When running a deployed EJB3 
ear application in a JBoss 4.0.3sp1 application using Tomcat service 5.5.9, 
Jasper is unable to compile any JSP file using Tag Libraries. To be more 
precise, when generating the Java source file (looking in the 'work' directory) 
everything in the file after the first occurance of a Tag Library usage is 
commented out (with "//"), causing the Java source to be invalid and outputs an 
error when accessing the page via a browser saying:

"org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
Syntax error, insert "}" to complete ClassBody

Generated servlet error:
Syntax error, insert "}" to complete Block

Generated servlet error:
Syntax error, insert "finally" to complete TryStatement

Generated servlet error:
Syntax error, insert "}" to complete MethodBody"

etc... where every error row is a suggestion of steps to take to make the 
source file valid. (of course).

The Tag Library jar files are located in the web application WEB-INF/lib folder 
as they should be. The descriptive Tag Library Definition files (tld:s) are 
located in the WEB-INF folder and every JSP file references these tld files 
directly via this path (WEB-INF/).

Any hints are most appreciated!!

Cheers!
/Henrik

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927399#3927399

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927399


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to