spatial icon indicating copy to clipboard operation
spatial copied to clipboard

GeoServer intergration error

Open NyakudyaA opened this issue 1 year ago • 0 comments

Problem

I know the README specifically mentions that this is not tested with GeoServer, however tying the following results in error

  • Spin up neo4j:5.20.0-community-bullseye

  • Copy the jars from running neo4j container outside the container

  • spin up GeoServer 2.25.2 running with tomcat:9.0.91-jdk11-temurin-focal

  • Copy https://github.com/neo4j-contrib/spatial/releases/download/5.20.0/neo4j-spatial-5.20.0-server-plugin.jar into /usr/local/tomcat/webapps/geoserver/WEB-INF/

  • Copy lib/*.jar /usr/local/tomcat/webapps/geoserver/WEB-INF/lib/` from the neo4j container and restart GeoServer

Look at the logs and see the following error

geoserver-1  | 19 Jul 14:45:23 WARN   [util.factory] - Can't load a service for category "ProcessFactory". Cause is "ServiceConfigurationError: org.geotools.process.ProcessFactory: Provider org.neo4j.gis.spatial.process.SpatialProcess could not be instantiated".

NyakudyaA avatar Jul 19 '24 14:07 NyakudyaA