JSP Compile Errors [message #1384859] |
Mon, 02 June 2014 14:46 |
Peter Carroll Messages: 2 Registered: January 2011 |
Junior Member |
|
|
I've had this problem for a couple of years and I can't believe there is not a fix.
Using Apache Tomcat 7 with Eclipse Kepler on Windows 7 64. Editing and then previewing a simple JSP page yields this error. The tag it's complaining about is used to wrap the page layout around the page. It's not exciting. Menus and footers etc.
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 9 in the jsp file: /admin/pages.jsp
org.apache.jsp.tag.weblayout_002dsite_tag cannot be resolved to a type
8:
9: <tags:layout-site>
10: <jsp:attribute name="title">Pages</jsp:attribute>
11: <jsp:attribute name="navpath">/admin/pages</jsp:attribute>
12: <jsp:body>
The solution is to just restart Tomcat. Then everything is fine until I edit a JSP again. But it's driving me crazy! The problem has persisted across several versions of software and several installations.
Has anyone found a solution to this?
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.02986 seconds