In Lucidworks Search UI
Luis Lopez-echeto
March 21, 2014 15:05
Symptoms
When trying to access the Lucidworks Search UI, the following error messages is displayed:
Http error 500problem accessing /. reason:pwc6033: error in javac compilation for JSPPWC6199: Generated servlet error:The type java.util.map$entry cannot be resolved. it is indirectly referenced from required .class filespwc6199: generated servlet error:the type java.util.comparator cannot be resolved. it is indirectly referenced From required .class filespwc6197: an error occurred at line: 14 in the jsp file: /index.jsppwc6199: generated servlet error: Comparator cannot be resolved to a typepwc6197: an error occurred at line: 123 in the jsp file: /index.jspPWC6199: Generated servlet error:the type java.lang.charsequence cannot be resolved. it is indirectly referenced from required .class filespwc6197: an error occurred at line: 123 in the jsp file: /index.jsppwc6199: generated servlet error: The method replace (Char, char) in the type String is not applicable for the arguments (string, string) caused by:o rg.apache.jasper.jasperexception: pwc6033: error in javac compilation for Jsppwc6199: generated servlet error:the type java.util.map$entry cannot be resolved. It is indirectly referenced from required .class filespwc6199: generated servlet error:the type java.util.comparator cannot Be resolved. it is indirectly&nbSp;referenced from required .class filespwc6197: an error occurred at line: 14 in the jsp file: /index.jsppwc6199: generated servlet error:comparator cannot be resolved to a typepwc6197: an error occurred at line: 123 in the jsp file: /index.jspPWC6199: Generated servlet error:the type java.lang.charsequence cannot be resolved. It is indirectly referenced from required .class filesPWC6197: an error occurred at line: 123 in the jsp file: / Index.jsppwc6199: generated servlet error:the method replace (Char, char) in the type String is not applicable for the arguments (String , string) At org.apAche.jasper.compiler.DefaultErrorHandler.javacError (defaulterrorhandler.java:129) at Org.apache.jasper.compiler.ErrorDispatcher.javacError (errordispatcher.java:299) at Org.apache.jasper.compiler.Compiler.generateClass (compiler.java:392) at Org.apache.jasper.compiler.Compiler.compile (compiler.java:453) at Org.apache.jasper.JspCompilationContext.compile (jspcompilationcontext.java:625) at Org.apache.jasper.servlet.JspServletWrapper.service (jspservletwrapper.java:374) at Org.apache.jasper.servlet.JspServlet.serviceJspFile (jspservlet.java:492) at Org.apache.jasper.servlet.JspServlet.service (jspservlet.java:378) at Javax.servlet.http.HttpServlet.service (httpservlet.java:848) at Org.eclipse.jetty.servlet.ServletHolder.handle (servletholder.java:594) at Org.eclipse.jetty.servlet.ServletHandler.doHandle (servlethandler.java:486) at Org.eclipse.jetty.server.handler.ScopedHandler.handle (scopedhandler.java:119) at Org.eclipse.jetty.security.SecurityHanDler.handle (securityhandler.java:542) At org.eclipse.jetty.server.session.sessionhandler.dohandle ( sessionhandler.java:233) At org.eclipse.jetty.server.handler.contexthandler.dohandle (ContextHandler.java : 1065) At org.eclipse.jetty.servlet.servlethandler.doscope (servlethandler.java:413) at Org.eclipse.jetty.server.session.SessionHandler.doScope (sessionhandler.java:192) at Org.eclipse.jetty.server.handler.ContextHandler.doScope (contexthandler.java:999) at Org.eclipse.jetty.server.handler.ScopedHandler.handle (scopedhandler.java:117) at Org.eclipse.jetty.server.Dispatcher.forward (dispatcher.java:271) at Org.eclipse.jetty.server.Dispatcher.forward (dispatcher.java:98) at Org.eclipse.jetty.servlet.DefaultServlet.doGet (defaultservlet.java:557) at Javax.servlet.http.HttpServlet.service (httpservlet.java:735) At javax.servlet.http.httpservlet.service ( httpservlet.java:848) At org.eclipse.jetty.servlet.servletholder.handle (servletholder.java:594) At&nbsP;org.eclipse.jetty.servlet.servlethandler.dohandle (servlethandler.java:486) at Org.eclipse.jetty.server.handler.ScopedHandler.handle (scopedhandler.java:119) at Org.eclipse.jetty.security.SecurityHandler.handle (securityhandler.java:524) at Org.eclipse.jetty.server.session.SessionHandler.doHandle (sessionhandler.java:233) at Org.eclipse.jetty.server.handler.ContextHandler.doHandle (contexthandler.java:1065) at Org.eclipse.jetty.servlet.ServletHandler.doScope (servlethandler.java:413) at Org.eclipse.jetty.server.session.SessionHandler.doScope (sessionhandler.java:192) at Org.eclipse.jetty.server.handler.ContextHandler.doScope (contexthandler.java:999) at Org.eclipse.jetty.server.handler.ScopedHandler.handle (scopedhandler.java:117) at Org.eclipse.jetty.server.handler.ContextHandlerCollection.handle (contexthandlercollection.java:250) at Org.eclipse.jetty.server.handler.HandlerCollection.handle (handlercollection.java:149) at Org.eclipse.jetty.server.haNdler. Handlerwrapper.handle (handlerwrapper.java:111) at org.eclipse.jetty.server.server.handle (Server.java:351) At org.eclipse.jetty.server.abstracthttpconnection.handlerequest (abstracthttpconnection.java:454) at Org.eclipse.jetty.server.BlockingHttpConnection.handleRequest (blockinghttpconnection.java:47) at Org.eclipse.jetty.server.AbstractHttpConnection.headerComplete (abstracthttpconnection.java:890) at Org.eclipse.jetty.server.abstracthttpconnection$requesthandler.headercomplete (AbstractHttpConnection.java:944) At org.eclipse.jetty.http.httpparser.parsenext (httpparser.java:634) at Org.eclipse.jetty.http.HttpParser.parseAvailable (httpparser.java:230) at Org.eclipse.jetty.server.BlockingHttpConnection.handle (blockinghttpconnection.java:66) at Org.eclipse.jetty.server.bio.socketconnector$connectorendpoint.run (socketconnector.java:254) at Org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (queuedthreadpool.java:599) at org.eclipse.jetty.util. Thread. Queuedthreadpool$3.run (queuedthreadpool.java:534) at java.lang.thread.run (Unknown Source) ____________ ____________________powered by jetty://
Cause
There is a known issue with Java 8 so may cause the above issue.
Solution
Use Java 7 JDK to run the lucidworks processes. If you have multiple versions of Java in your environment, you could specify the location of the Java 7 binary by editing JVMvariable in the start.[ BAT|SH] file under [Lw_home]/bin
Error in Javac compilation for JSP