开发者社区> 问答> 正文

Tomcat报的错,有lucene的jar包,为什么还报这个错误?

2016-05-16 6:48:07 org.apache.catalina.core.StandardWrapperValve invoke
严重:` Servlet.service() for servlet jsp threw exception
java.lang.NoClassDefFoundError: org/apache/lucene/document/Fieldable
at com.aide.search.index.XMLIndex.indexXML(XMLIndex.java:55)
at com.aide.search.index.XMLIndex.indexXMLs(XMLIndex.java:83)
at com.aide.search.index.XMLIndex.indexXMLs(XMLIndex.java:79)
at com.aide.search.index.XMLIndex.addInfo(XMLIndex.java:107)
at com.aide.search.IndexOper.addIndex(IndexOper.java:57)
at org.apache.jsp.index.index11_jsp._jspService(index11_jsp.java:79)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:843)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:679)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1293)
at java.lang.Thread.run(Thread.java:619)`
2016-05-16 06:48:07 [com.aide.search.IndexOper]-[INFO] 正在升级索引库...
2016-05-16 06:49:02 [com.aide.search.exception.IndexException]-[INFO] 处理上次异常:上次索引建立失败
2016-05-16 06:49:02 [com.aide.search.IndexOper]-[INFO] 正在升级索引库...

展开
收起
落地花开啦 2016-03-23 17:42:33 2859 0
1 条回答
写回答
取消 提交回答
  • 喜欢技术,喜欢努力的人

    lucene jar包版本问题

    2019-07-17 19:11:36
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Apache Tomcat 的云原生演进 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载