当前位置: 代码迷 >> JBoss >> jboss compass连数据有关问题
  详细解决方案

jboss compass连数据有关问题

热度:3201   发布时间:2013-02-26 00:00:00.0
jboss compass连数据问题
11:20:36,198 INFO [Server] Runtime shutdown hook called, forceHalt: true
11:20:36,209 ERROR [STDERR] Exception in thread "Thread-21"  
11:20:36,213 ERROR [STDERR] java.lang.NoSuchMethodError: org.apache.lucene.analysis.Analyzer.close()V
11:20:36,214 ERROR [STDERR] at org.compass.core.lucene.engine.analyzer.LuceneAnalyzerManager.close(LuceneAnalyzerManager.java:73)
11:20:36,216 ERROR [STDERR] at org.compass.core.lucene.engine.LuceneSearchEngineFactory.close(LuceneSearchEngineFactory.java:161)
11:20:36,218 ERROR [STDERR] at org.compass.core.impl.DefaultCompass.close(DefaultCompass.java:301)
11:20:36,219 ERROR [STDERR] at org.compass.core.impl.DefaultCompass$ShutdownThread.run(DefaultCompass.java:406)
11:20:36,221 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
使用了compass组建做全文检索用,程序启动之后,输入用户名和密码之后连接数据库也成功了,可是jboss就关闭了,高手帮忙解决下巴

------解决方案--------------------------------------------------------
提示找不到方法