HTTP Status 500 - Unable to compile class for JSP:

type Exception report

message Unable to compile class for JSP:

description The server encountered an internal error that prevented it from fulfilling this request.

exception

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

An error occurred at line: 13 in the jsp file: /sustainableshopfit/header.jsp
bre.sustainableshopfit.KnownUserDetails cannot be resolved to a type
10: bre.ccit.utils.SQLdb breDb = null;
11: 
12: // for login we will need to know if there is a logged in user
13: bre.sustainableshopfit.KnownUserDetails navCurrentUser = (bre.sustainableshopfit.KnownUserDetails)session.getAttribute(SESSION_USER);
14: 
15: // we might need to know what page we are on (including any parameters)
16: String navPageUrl = request.getRequestURI();


An error occurred at line: 13 in the jsp file: /sustainableshopfit/header.jsp
bre.sustainableshopfit.KnownUserDetails cannot be resolved to a type
10: bre.ccit.utils.SQLdb breDb = null;
11: 
12: // for login we will need to know if there is a logged in user
13: bre.sustainableshopfit.KnownUserDetails navCurrentUser = (bre.sustainableshopfit.KnownUserDetails)session.getAttribute(SESSION_USER);
14: 
15: // we might need to know what page we are on (including any parameters)
16: String navPageUrl = request.getRequestURI();


An error occurred at line: 58 in the jsp file: /sustainableshopfit/header.jsp
bre.sustainableshopfit.ProjectDetails cannot be resolved to a type
55: //
56: 
57: // general
58: bre.sustainableshopfit.ProjectDetails navProject = null;
59: 
60: // main navigation
61: /*int navSectionID = 0;


An error occurred at line: 4 in the jsp file: /sustainableshopfit/page.jsp
Duplicate local variable page
1: <%@ include file="header.jsp"%>
2: <jsp:useBean id="section" class="bre.website.SectionDetails"/>
3: <jsp:useBean id="topLevelSection" class="bre.website.SectionDetails"/>
4: <jsp:useBean id="page" class="bre.website.SectionPageDetails"/>
5: <jsp:useBean id="pageImageList" class="bre.website.SectionPageFileList"/>
6: <jsp:useBean id="pageFileList" class="bre.website.SectionPageFileList"/>
7: <jsp:useBean id="fileLibrary" class="bre.website.FileLibraryDetails"/>


Stacktrace:
	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198)
	org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

note The full stack trace of the root cause is available in the Apache Tomcat Version BRE logs.


Apache Tomcat Version BRE