Hi all,
Downloaded the latest version of Neo4j Desktop. While following a training I get the following error when executing:
CALL apoc.create.addLabels(entity, e.types) YIELD node
Error:
Neo.ClientError.Procedure.ProcedureNotFound
Figured out that I had to copy the latest version of the "apoc-4.1.0.0-all.jar" into the plugins folder (DBMS->OPEN FOLDER->PLUGINS)
After restarting the server I got another error when executing the above query:
Failed to invoke procedure `apoc.create.addLabels`: Caused by: java.lang.ClassNotFoundException: org.neo4j.graphdb.TransactionGuardException
This time, I have no idea what's up, attaching the neo4j.log:
(Showing last 100 lines...)
2022-08-05 13:17:54.141+0000 INFO Remote interface available at http://localhost:7474/
2022-08-05 13:17:54.152+0000 INFO id: B82FDA9D0082E17AE7C5D0AD21115F619EF79A887F311A79F468C676E8AEC103
2022-08-05 13:17:54.152+0000 INFO name: system
2022-08-05 13:17:54.152+0000 INFO creationDate: 2022-08-04T09:41:05.336Z
2022-08-05 13:17:54.152+0000 INFO Started.
2022-08-05 13:20:34.461+0000 INFO Neo4j Server shutdown initiated by request
2022-08-05 13:20:34.462+0000 INFO Stopping...
2022-08-05 13:20:44.431+0000 INFO Stopped.
2022-08-05 13:20:50.761+0000 INFO Starting...
2022-08-05 13:20:51.566+0000 INFO This instance is ServerId{0c4ad5c5} (0c4ad5c5-8e64-4ed3-b7d5-4895a1e769bd)
2022-08-05 13:20:53.544+0000 ERROR Failed to start Neo4j on localhost:7474.
java.lang.IllegalArgumentException: Illegal configuration: Failed to load auth plugin 'plugin-com.neo4j.plugin.jwt.auth.JwtAuthPlugin'.
at com.neo4j.server.security.enterprise.EnterpriseSecurityModule.illegalConfiguration(EnterpriseSecurityModule.java:426) ~[neo4j-security-enterprise-4.4.5.jar:4.4.5]
at com.neo4j.server.security.enterprise.EnterpriseSecurityModule.createPluginRealms(EnterpriseSecurityModule.java:364) ~[neo4j-security-enterprise-4.4.5.jar:4.4.5]
at com.neo4j.server.security.enterprise.EnterpriseSecurityModule.newAuthManager(EnterpriseSecurityModule.java:224) ~[neo4j-security-enterprise-4.4.5.jar:4.4.5]
at com.neo4j.server.security.enterprise.EnterpriseSecurityModule.setup(EnterpriseSecurityModule.java:135) ~[neo4j-security-enterprise-4.4.5.jar:4.4.5]
at com.neo4j.enterprise.edition.AbstractEnterpriseEditionModule.makeEnterpriseSecurityModule(AbstractEnterpriseEditionModule.java:106) ~[neo4j-enterprise-4.4.5.jar:4.4.5]
at com.neo4j.enterprise.edition.EnterpriseEditionModule.createSecurityModule(EnterpriseEditionModule.java:301) ~[neo4j-enterprise-4.4.5.jar:4.4.5]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:161) ~[neo4j-4.4.5.jar:4.4.5]
at com.neo4j.server.enterprise.EnterpriseManagementServiceFactory.createManagementService(EnterpriseManagementServiceFactory.java:38) ~[neo4j-enterprise-4.4.5.jar:4.4.5]
at com.neo4j.server.enterprise.EnterpriseBootstrapper.createNeo(EnterpriseBootstrapper.java:20) ~[neo4j-enterprise-4.4.5.jar:4.4.5]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:142) [neo4j-4.4.5.jar:4.4.5]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:95) [neo4j-4.4.5.jar:4.4.5]
at com.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:24) [neo4j-enterprise-4.4.5.jar:4.4.5]
2022-08-05 13:20:53.561+0000 INFO Neo4j Server shutdown initiated by request
2022-08-05 13:20:53.563+0000 INFO Stopped.
APOC couln't set a URLStreamHandlerFactory since some other tool already did this (e.g. tomcat). This means you cannot use s3:// or hdfs:// style URLs in APOC. This is caused by a limitation of the JVM which we cannot fix.
APOC couln't set a URLStreamHandlerFactory since some other tool already did this (e.g. tomcat). This means you cannot use s3:// or hdfs:// style URLs in APOC. This is caused by a limitation of the JVM which we cannot fix.
2022-08-05 13:22:44.919+0000 INFO Starting...
2022-08-05 13:22:45.767+0000 INFO This instance is ServerId{0c4ad5c5} (0c4ad5c5-8e64-4ed3-b7d5-4895a1e769bd)
2022-08-05 13:22:48.014+0000 INFO ======== Neo4j 4.4.5 ========
2022-08-05 13:22:53.588+0000 INFO Called db.clearQueryCaches(): Query cache already empty.
2022-08-05 13:22:58.542+0000 INFO Sending metrics to CSV file at /Users/aperio/Library/Application Support/Neo4j Desktop/Application/relate-data/dbmss/dbms-7a3ce37e-30d7-487d-b35d-125ede1568a6/metrics
2022-08-05 13:22:58.610+0000 INFO Bolt enabled on localhost:7687.
2022-08-05 13:22:59.934+0000 INFO Remote interface available at http://localhost:7474/
2022-08-05 13:22:59.949+0000 INFO id: B82FDA9D0082E17AE7C5D0AD21115F619EF79A887F311A79F468C676E8AEC103
2022-08-05 13:22:59.949+0000 INFO name: system
2022-08-05 13:22:59.949+0000 INFO creationDate: 2022-08-04T09:41:05.336Z
2022-08-05 13:22:59.949+0000 INFO Started.
2022-08-05 13:23:46.595+0000 INFO Neo4j Server shutdown initiated by request
2022-08-05 13:23:46.596+0000 INFO Stopping...
2022-08-05 13:23:58.241+0000 INFO Stopped.
APOC couln't set a URLStreamHandlerFactory since some other tool already did this (e.g. tomcat). This means you cannot use s3:// or hdfs:// style URLs in APOC. This is caused by a limitation of the JVM which we cannot fix.
APOC couln't set a URLStreamHandlerFactory since some other tool already did this (e.g. tomcat). This means you cannot use s3:// or hdfs:// style URLs in APOC. This is caused by a limitation of the JVM which we cannot fix.
2022-08-05 13:24:04.526+0000 INFO Starting...
2022-08-05 13:24:05.308+0000 INFO This instance is ServerId{0c4ad5c5} (0c4ad5c5-8e64-4ed3-b7d5-4895a1e769bd)
2022-08-05 13:24:07.432+0000 INFO ======== Neo4j 4.4.5 ========
2022-08-05 13:24:13.196+0000 INFO Called db.clearQueryCaches(): Query cache already empty.
2022-08-05 13:24:17.902+0000 INFO Sending metrics to CSV file at /Users/aperio/Library/Application Support/Neo4j Desktop/Application/relate-data/dbmss/dbms-7a3ce37e-30d7-487d-b35d-125ede1568a6/metrics
2022-08-05 13:24:17.964+0000 INFO Bolt enabled on localhost:7687.
2022-08-05 13:24:19.358+0000 INFO Remote interface available at http://localhost:7474/
2022-08-05 13:24:19.377+0000 INFO id: B82FDA9D0082E17AE7C5D0AD21115F619EF79A887F311A79F468C676E8AEC103
2022-08-05 13:24:19.377+0000 INFO name: system
2022-08-05 13:24:19.377+0000 INFO creationDate: 2022-08-04T09:41:05.336Z
2022-08-05 13:24:19.377+0000 INFO Started.
2022-08-05 13:45:16.210+0000 INFO Neo4j Server shutdown initiated by request
2022-08-05 13:45:16.211+0000 INFO Stopping...
2022-08-05 13:45:21.764+0000 INFO Stopped.
APOC couln't set a URLStreamHandlerFactory since some other tool already did this (e.g. tomcat). This means you cannot use s3:// or hdfs:// style URLs in APOC. This is caused by a limitation of the JVM which we cannot fix.
APOC couln't set a URLStreamHandlerFactory since some other tool already did this (e.g. tomcat). This means you cannot use s3:// or hdfs:// style URLs in APOC. This is caused by a limitation of the JVM which we cannot fix.
2022-08-05 13:45:28.158+0000 INFO Starting...
2022-08-05 13:45:28.993+0000 INFO This instance is ServerId{0c4ad5c5} (0c4ad5c5-8e64-4ed3-b7d5-4895a1e769bd)
2022-08-05 13:45:31.111+0000 INFO ======== Neo4j 4.4.5 ========
2022-08-05 13:45:37.331+0000 INFO Called db.clearQueryCaches(): Query cache already empty.
2022-08-05 13:45:42.126+0000 INFO Sending metrics to CSV file at /Users/aperio/Library/Application Support/Neo4j Desktop/Application/relate-data/dbmss/dbms-7a3ce37e-30d7-487d-b35d-125ede1568a6/metrics
2022-08-05 13:45:42.195+0000 INFO Bolt enabled on localhost:7687.
2022-08-05 13:45:43.377+0000 INFO Remote interface available at http://localhost:7474/
2022-08-05 13:45:43.384+0000 INFO id: B82FDA9D0082E17AE7C5D0AD21115F619EF79A887F311A79F468C676E8AEC103
2022-08-05 13:45:43.384+0000 INFO name: system
2022-08-05 13:45:43.384+0000 INFO creationDate: 2022-08-04T09:41:05.336Z
2022-08-05 13:45:43.384+0000 INFO Started.
2022-08-05 13:54:49.555+0000 INFO Neo4j Server shutdown initiated by request
2022-08-05 13:54:49.556+0000 INFO Stopping...
2022-08-05 13:54:54.645+0000 INFO Stopped.
2022-08-05 13:55:01.049+0000 INFO Starting...
2022-08-05 13:55:01.861+0000 INFO This instance is ServerId{0c4ad5c5} (0c4ad5c5-8e64-4ed3-b7d5-4895a1e769bd)
2022-08-05 13:55:04.074+0000 INFO ======== Neo4j 4.4.5 ========
2022-08-05 13:55:08.806+0000 INFO Sending metrics to CSV file at /Users/aperio/Library/Application Support/Neo4j Desktop/Application/relate-data/dbmss/dbms-7a3ce37e-30d7-487d-b35d-125ede1568a6/metrics
2022-08-05 13:55:08.864+0000 INFO Bolt enabled on localhost:7687.
2022-08-05 13:55:10.266+0000 INFO Remote interface available at http://localhost:7474/
2022-08-05 13:55:10.275+0000 INFO id: B82FDA9D0082E17AE7C5D0AD21115F619EF79A887F311A79F468C676E8AEC103
2022-08-05 13:55:10.276+0000 INFO name: system
2022-08-05 13:55:10.276+0000 INFO creationDate: 2022-08-04T09:41:05.336Z
2022-08-05 13:55:10.276+0000 INFO Started.
2022-08-05 13:55:38.586+0000 INFO Neo4j Server shutdown initiated by request
2022-08-05 13:55:38.587+0000 INFO Stopping...
2022-08-05 13:55:45.535+0000 INFO Stopped.
APOC couln't set a URLStreamHandlerFactory since some other tool already did this (e.g. tomcat). This means you cannot use s3:// or hdfs:// style URLs in APOC. This is caused by a limitation of the JVM which we cannot fix.
APOC couln't set a URLStreamHandlerFactory since some other tool already did this (e.g. tomcat). This means you cannot use s3:// or hdfs:// style URLs in APOC. This is caused by a limitation of the JVM which we cannot fix.
2022-08-05 13:55:51.881+0000 INFO Starting...
2022-08-05 13:55:52.495+0000 INFO This instance is ServerId{0c4ad5c5} (0c4ad5c5-8e64-4ed3-b7d5-4895a1e769bd)
2022-08-05 13:55:54.607+0000 INFO ======== Neo4j 4.4.5 ========
2022-08-05 13:56:00.920+0000 INFO Called db.clearQueryCaches(): Query cache already empty.
2022-08-05 13:56:05.916+0000 INFO Sending metrics to CSV file at /Users/aperio/Library/Application Support/Neo4j Desktop/Application/relate-data/dbmss/dbms-7a3ce37e-30d7-487d-b35d-125ede1568a6/metrics
2022-08-05 13:56:05.981+0000 INFO Bolt enabled on localhost:7687.
2022-08-05 13:56:07.265+0000 INFO Remote interface available at http://localhost:7474/
2022-08-05 13:56:07.274+0000 INFO id: B82FDA9D0082E17AE7C5D0AD21115F619EF79A887F311A79F468C676E8AEC103
2022-08-05 13:56:07.274+0000 INFO name: system
2022-08-05 13:56:07.274+0000 INFO creationDate: 2022-08-04T09:41:05.336Z
2022-08-05 13:56:07.274+0000 INFO Started.
Any idea?
Thanks!