我尝试使用这条线
GeoPipeline pipeline = GeoPipeline.start( layer )
.copyDatabaseRecordProperties( "name" )
.propertyFilter( "name", "Storgatan" );
但它在 .propertyFilter() 中抛出了这个异常
Exception in thread "main" java.lang.NoClassDefFoundError: com/tinkerpop/pipes/filter/FilterPipe$Filter
at org.neo4j.gis.spatial.pipes.filtering.FilterProperty.<init>(FilterProperty.java:39)
at org.neo4j.gis.spatial.pipes.GeoPipeline.propertyFilter(GeoPipeline.java:708)
at foo.App.test(App.java:223)
at foo.App.main(App.java:282)
Caused by: java.lang.ClassNotFoundException: com.tinkerpop.pipes.filter.FilterPipe$Filter
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 4 more
我正在使用 neo4j-spatial 1.9.5 和相同的 neo4j
有谁知道是什么问题?