我在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