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: 7 in the generated java file Only a type can be imported. com.riu.b2c.util.RiuConfig resolves to a package An error occurred at line: 4 in the jsp file: /en/Paises/mexico/cancun/hotel-riu-palace-costa-mujeres/mapa.jsp RiuConfig cannot be resolved to a type 1: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 2: <%@page import="com.riu.b2c.tridion.*"%> 3: <%@page import="com.riu.b2c.util.RiuConfig"%> 4: <% RiuConfig riuConfig = RiuConfig.getInstance(); %> 5: 6: <%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %> 7: <%@ taglib uri="cd_tags" prefix="tridion" %> An error occurred at line: 4 in the jsp file: /en/Paises/mexico/cancun/hotel-riu-palace-costa-mujeres/mapa.jsp RiuConfig cannot be resolved 1: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 2: <%@page import="com.riu.b2c.tridion.*"%> 3: <%@page import="com.riu.b2c.util.RiuConfig"%> 4: <% RiuConfig riuConfig = RiuConfig.getInstance(); %> 5: 6: <%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %> 7: <%@ taglib uri="cd_tags" prefix="tridion" %> Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:460) org.apache.jasper.compiler.Compiler.compile(Compiler.java:356) org.apache.jasper.compiler.Compiler.compile(Compiler.java:334) org.apache.jasper.compiler.Compiler.compile(Compiler.java:321) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592) org.apache.jasper.compiler.JspRuntimeContext.checkCompile(JspRuntimeContext.java:300) org.apache.jasper.servlet.JspServlet.periodicEvent(JspServlet.java:283) java.lang.Thread.run(Unknown Source)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.43 logs.