错误的sym类型:EmbeddedSolrServer.query

时间:2012-06-26 19:45:06

标签: java exception solr apache-tomee

我在Solr中实现EmbeddedSolrServer时出现问题,它似乎在正确的地方,它的编译以及除了它试图发出请求时的所有内容>

QueryResponse rsp = solrServer.getSolrServer().query(query);

我得到以下异常:

avax.ejb.EJBException: The bean encountered a non-application exception; nested    exception is: 
java.lang.RuntimeException: Uncompilable source code - Erroneous sym type: EmbeddedSolrServer.query
at org.apache.openejb.core.ivm.BaseEjbProxyHandler.convertException(BaseEjbProxyHandler.java:368)
at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:288)
at com.polyglong.solr.SolrServerController$LocalBeanProxy.getResult(com/polyglong/solr/SolrServerController.java)
at com.polyglong.solr.SolrServerTest.getResults(SolrServerTest.java:29)

我正在使用TomEE和Solr 3.6.0

0 个答案:

没有答案