neo4j-contrib / spatial

Neo4j Spatial is a library of utilities for Neo4j that faciliates the enabling of spatial operations on data. In particular you can add spatial indexes to already located data, and perform spatial operations on the data like searching for data within specified regions or within a specified distance of a point of interest. In addition classes are provided to expose the data to geotools and thereby to geotools enabled applications like geoserver and uDig.

Home Page:http://neo4j-contrib.github.io/spatial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

org.neo4j.internal.kernel.api.procs does not exist

100beans opened this issue · comments

commented

Hi All,

Apologies if this has been answered already. I get the following error message when I try to use maven3 to compile neo4j-spatial.

[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /C:/spatial/src/main/java/org/geotools/data/neo4j/Neo4jSpatialDataStore.java: Some input files use or override a deprecated API.
[WARNING] /C:/spatial/src/main/java/org/geotools/data/neo4j/Neo4jSpatialDataStore.java: Recompile with -Xlint:deprecation for details.
[INFO] 2 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/spatial/src/main/java/org/neo4j/gis/spatial/procedures/SpatialProcedures.java:[45,43] package org.neo4j.internal.kernel.api.procs does not exist
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.272 s
[INFO] Finished at: 2018-05-15T14:35:52+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project neo4j-spatial: Compilation failure
[ERROR] /C:/spatial/src/main/java/org/neo4j/gis/spatial/procedures/SpatialProcedures.java:[45,43] package org.neo4j.internal.kernel.api.procs does not exist

I am using java version 10.0.1 (updated on my pom file)

I have tried installing neo4j versions 3.3 and 3.4 but get the same error message

I also edited the neo4j-spatial-index version to 3.4.0-alpha09 as before using the default I was receiving an error that the artifact could not be found.

I am also using windows 10

Any help would be much appreciated!
Ben