Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » JSP Compile Errors(org.apache.jsp.tag.weblayout_002dsite_tag cannot be resolved to a type)
JSP Compile Errors [message #1384859] Mon, 02 June 2014 14:46
Peter Carroll is currently offline Peter CarrollFriend
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
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?

Previous Topic:How to remove a server adapter/plugin from RAD
Next Topic:Migrating an IBM RAD project into Eclipse 4.2.1
Goto Forum:

Current Time: Tue May 21 10:38:23 GMT 2024

Powered by FUDForum. Page generated in 0.03243 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top