Here are the libs on the classpath:

commons-codec-1.6.jar
commons-csv-1.0.jar
commons-lang3-3.3.2.jar
httpclient-cache-4.2.6.jar
jackson-annotations-2.3.0.jar
jackson-core-2.3.3.jar
jackson-databind-2.3.3.jar
jcl-over-slf4j-1.7.6.jar
jena-arq-2.13.0.jar
jena-core-2.13.0.jar
jena-iri-1.1.2.jar
jena-tdb-1.1.2.jar
jsonld-java-0.5.1.jar
libthrift-0.9.2.jar
log4j-1.2.17.jar
slf4j-api-1.7.6.jar
slf4j-log4j12-1.7.6.jar
xercesImpl-2.11.0.jar
xml-apis-1.4.01.jar

jena-spatial-1.1.2.jar

solr-core-5.2.1.jar
solr-solrj-5.2.1.jar
commons-io-2.4.jar
httpclient-4.4.1.jar
httpcore-4.4.1.jar
httpmime-4.4.1.jar
noggit-0.6.jar
stax2-api-3.1.4.jar
woodstox-core-asl-4.4.1.jar
zookeeper-3.4.6.jar

lucene-analyzers-common-5.2.1.jar
lucene-core-5.2.1.jar
lucene-queryparser-5.2.1.jar
lucene-spatial-5.2.1.jar

spatial4j-0.4.1.jar

Also, I did not include the stacktrace from the runtime error above, which
may help.

at
org.apache.jena.query.spatial.assembler.SpatialAssembler.init(SpatialAssembler.java:31)
at org.apache.jena.query.spatial.SpatialQuery.init(SpatialQuery.java:65)
at org.apache.jena.query.spatial.SpatialQuery.<clinit>(SpatialQuery.java:55)
at
org.apache.jena.query.spatial.SpatialDatasetFactory.<clinit>(SpatialDatasetFactory.java:33)
at jenaspatial.testJenaSpatial.joinDataset(testJenaSpatial.java:70)
at jenaspatial.testJenaSpatial.createDatasetByCode(testJenaSpatial.java:54)
at jenaspatial.testJenaSpatial.CreateDB(testJenaSpatial.java:46)
at jenaspatial.testJenaSpatial.main(testJenaSpatial.java:31)

Thanks!

Ralph


On Mon, Jul 20, 2015 at 1:35 AM, Andy Seaborne <[email protected]> wrote:

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

Reply via email to