On 20/07/15 03:06, Ralph Perniciaro wrote:
All,
I am new to Jena Spatial and just trying to get a very simple program to
create a spatial dataset and index and I'm getting the following error:
Exception in thread "main" java.lang.VerifyError: Inconsistent stackmap
frames at branch target 68
Exception Details:
Location:
org/apache/jena/query/spatial/assembler/SpatialIndexSolrAssembler.open(Lcom/hp/hpl/jena/assembler/Assembler;Lcom/hp/hpl/jena/rdf/model/Resource;Lcom/hp/hpl/jena/assembler/Mode;)Lorg/apache/jena/query/spatial/SpatialIndex;
@68: aload_2
Reason:
Type 'org/apache/solr/client/solrj/impl/HttpSolrServer' (current frame,
locals[5]) is not assignable to 'org/apache/solr/client/solrj/SolrServer'
(stack map, locals[5])
This says that something with solrj is wrong; VerifyError is quite
unhelpful as to what though.
It looks like
SolrServer server;
...
server = new HttpSolrServer(uri);
failed.
The only suggestion I found was that there are multiple solrj jars, but
different versions, on the classpath.
Andy
I am figuring that it is a library problem, but as far as I can tell I am
including all required libraries and version.
Thanks!
Ralph Perniciaro