neo4j-labs / neosemantics

Graph+Semantics: Import/Export RDF from Neo4j. SHACL Validation, Model mapping and more.... If you like it, please ★ ⇧
https://neo4j.com/labs/neosemantics/
Apache License 2.0
824 stars 143 forks source link

Neosemantics installation error on Neo4J Community 4.x #169

Open textminer opened 4 years ago

textminer commented 4 years ago

Hi,

I can't install Neosemantics Release 4.0.0.1 for Neo4j 4.x Community on Ubuntu. I copied neosemantics jar in /var/lib/neo4j/plugins folder, edited neo4j.conf file and Neo4J does not start giving this warning in the log:

2020-07-02 15:20:47.466+0000 WARN [o.n.k.i.p.Procedures] Failed to load n10s.Util$1 from plugin jar /var/lib/neo4j/plugins/neosemantics-4.0.0.1.jar: org/neo4j/graphdb/ResultTransformer

Any help will be appreciated. Thanks.

davidmakovoz commented 4 years ago

I second that. I asked this question already in the general forum https://community.neo4j.com/t/neosemantics-plugin-is-not-detected/21388/6 and was suggested to post it here. I didn't want to open a new issue, since it seems to be the same problem. The bottom line, just like textminer, I have the jar file in the plugins folder, and the appropriate line in the neo4j.conf file and getting a bunch of error messages in the log file(marked as 'WARN' somehow). It starts with

2020-07-10 02:11:28.528+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load META-INF.versions.9.javax.xml.bind.ModuleUtil from plugin jar /opt/neo4j-community-4.0.2/plugins/neosemantics-4.0.0.1.jar: javax/xml/bind/ModuleUtil (wrong name: META-INF/versions/9/javax/xml/bind/ModuleUtil)

2020-07-10 02:11:28.530+0000 WARN [o.n.k.a.p.GlobalProcedures] Failed to load module-info from plugin jar /opt/neo4j-community-4.0.2/plugins/neosemantics-4.0.0.1.jar: module-info is not a class because access_flag ACC_MODULE is set

What follows is about two dozen of failure to load messages with the same error "com/github/jsonldjava/shaded/com/google/common/util/concurrent/internal/InternalFutureFailureAccess"

Somebody suggested it could be a java version problem, so here is what I have: java version "11.0.6" 2020-01-14 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.6+8-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.6+8-LTS, mixed mode)

Any help will be appreciated. Thanks.

davidmakovoz commented 4 years ago

We solved our problem by adding n10s. to the whitelist in the configuration file: dbms.security.procedures.whitelist=gds.,apoc., n10s.