org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [1] in the generated java file: [/var/lib/tomcat8/work/Catalina/www.limerickleader.ie/ROOT/org/apache/jsp/widget/head/top_jsp.java] The type cms.ResourceURLController$TYPES cannot be resolved. It is indirectly referenced from required .class files An error occurred at line: 65 in the jsp file: /includes/script.jsp cms.ResourceURLController.TYPES cannot be resolved to a type 62: %> 63: 64: <%if( request.getAttribute("isGn4Preview") != null ){%> 65: " type="text/css" /><% 66: } 67: %> 68: An error occurred at line: 67 in the jsp file: /includes/script.jsp TYPES cannot be resolved or is not a field 64: <%if( request.getAttribute("isGn4Preview") != null ){%> 65: " type="text/css" /><% 66: } 67: %> 68: 69: 70: 154: 155: 156: 157: An error occurred at line: 155 in the jsp file: /includes/script.jsp TYPES cannot be resolved or is not a field 152: %> 153: 154: 155: 156: 157: 158: An error occurred at line: 60 in the jsp file: /widget/head/top.jsp TYPES cannot be resolved or is not a field 57: } 58: 59: <%if (!Boolean.parseBoolean(request.getParameter("excludeStyleSite"))) {%> 60: " rel="stylesheet" type="text/css" /><% 61: if(styleSiteChannelFile.exists()){%> 62: " rel="stylesheet" type="text/css" /> 63: <%} An error occurred at line: 62 in the jsp file: /widget/head/top.jsp TYPES cannot be resolved or is not a field 59: <%if (!Boolean.parseBoolean(request.getParameter("excludeStyleSite"))) {%> 60: " rel="stylesheet" type="text/css" /><% 61: if(styleSiteChannelFile.exists()){%> 62: " rel="stylesheet" type="text/css" /> 63: <%} 64: if(styleSiteSectionFile.exists()){%> 65: " rel="stylesheet" type="text/css" /> An error occurred at line: 65 in the jsp file: /widget/head/top.jsp TYPES cannot be resolved or is not a field 62: " rel="stylesheet" type="text/css" /> 63: <%} 64: if(styleSiteSectionFile.exists()){%> 65: " rel="stylesheet" type="text/css" /> 66: <%} 67: }%> 68: <%if(request.getAttribute("fileLayout")!=null){%> An error occurred at line: 70 in the jsp file: /widget/head/top.jsp TYPES cannot be resolved or is not a field 67: }%> 68: <%if(request.getAttribute("fileLayout")!=null){%> 69: 70: " rel="stylesheet" type="text/css" /> 71: <%} 72: if(cmspos){%> 73: "> An error occurred at line: 93 in the jsp file: /widget/head/top.jsp TYPES cannot be resolved or is not a field 90: }catch(Exception err){} 91: java.io.File print = new java.io.File(application.getRealPath("css/print.css")); 92: if(print.exists()){%> 93: " media="print"> 94: <%} 95: 96: String google_analytics_id=vc.getAttributes("google_analytics_id", ((Integer)request.getAttribute("channel_id")).intValue(), ((Integer)request.getAttribute("domain_id")).intValue()); Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198) at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:449) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:401) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:345) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at CharsetFilter.doFilter(CharsetFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:878) at org.apache.jsp.includes.layout.ico_005farticle_005fstandard_jsp._jspService(ico_005farticle_005fstandard_jsp.java:110) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:401) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:345) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at CharsetFilter.doFilter(CharsetFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:878) at org.apache.jsp.articolo_jsp._jspService(articolo_jsp.java:749) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:401) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:345) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) at routing.routes.Article.processRequest(Article.java:82) at routing.VirtualCmsFilter.doFilter(VirtualCmsFilter.java:104) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at CharsetFilter.doFilter(CharsetFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:676) at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:676) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2513) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2502) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748)