Hi Don and Anurag,

thanks for your reply..


I have installed Solr sucessfully..

i have created solr war file called Demo.war  .. and  deployed the  same in
Jetty server ..
after  starting the jetty server ..

i am trying to access the  solr url by using this url :

http://localhost:8983/Demo/webapp/web/admin/

 getting the below error ..

HTTP ERROR: 500
PWC6033: Unable to compile class for JSP

PWC6199: Generated servlet error:
Only a type can be imported. org.apache.lucene.LucenePackage resolves to a
package

PWC6197: An error occurred at line: 44 in the jsp file:
/webapp/web/admin/_info.jsp
PWC6199: Generated servlet error:
LucenePackage cannot be resolved to a type


RequestURI=/Demo/webapp/web/admin/

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

PWC6199: Generated servlet error:
Only a type can be imported. org.apache.lucene.LucenePackage resolves to a
package

PWC6197: An error occurred at line: 44 in the jsp file:
/webapp/web/admin/_info.jsp
PWC6199: Generated servlet error:
LucenePackage cannot be resolved to a type


        at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:94)
        at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:267)
        at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:332)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:389)
        at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:579)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:464)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:358)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:268)
        at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
        at 
org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:431)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:285)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
        at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

Powered by Jetty://



can any one  guide me  how to resolve this issue ..

thanks in advance..

















 here Demo is my war file.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/build-a-Simple-Solr-search-Engine-in-Java-tp3047438p3053008.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Reply via email to