On 6/4/2015 5:32 AM, Adam Hall wrote: > We have installed apache solr 3.6.2 for our Magento Enterprise sales > platform (unfortunately its the only version Enterprise supports), > however, when navigating the admin interface we keep stumbling across > stack traces: > > PWC6033: Unable to compile class for JSP > > PWC6197: An error occurred at line: 181 in the jsp file: /admin/analysis.jsp > PWC6199: Generated servlet error: > The type java.lang.CharSequence cannot be resolved. It is indirectly > referenced from required .class files > > org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
Solr 1.x and 3.x uses JSP for its admin UI, so you must have JSP support in the servlet container. With many servlet containers, JSP support requires the Java JDK, not just the JRE -- the container may need to compile the JSP code on the fly. This is the usual solution for people that get this JasperException. It is *strongly* recommended that you use the jetty included with Solr, not a third-party container. That jetty has been tuned for Solr's needs. The admin UI in 4.0 and later doesn't use JSP. Thanks, Shawn