APOC为Neo4j节点添加Label

APOC为Neo4j节点添加Label

  • APOC为Neo4j节点添加Label
    • 第一步

APOC为Neo4j节点添加Label

之前笔者在ubuntu上部署apoc包在Neo4j Server上面,由于适配的原因,在win10下使用Neo4j Desktop,在里面使用apoc包变成了一个问题。

第一步

我下载apoc jar 包并安装到/plugins/目录下面,笔者使用的是apoc-4.4.0.1-core.jar,之后进入/conf/更改conf文件。

I followed the installation steps for APOC,

Downloaded APOC jar from this link (version: apoc-4.2.0.0-all.jar) and placed it in plugins folder

Modify the Neo4j Configuration file, present in the location:

<Neo4j Path>\conf\neo4j.conf

Uncomment dbms.directories.plugins=plugins

#allows Neo4j to load this plugins directory to server**

Uncomment and modify as following

 dbms.security.procedures.unrestricted=apoc.*
 dbms.security.procedures.whitelist=apoc.*,apoc.coll.*,apoc.load.*
 #loads unrestricted and white-listed procedures/ plugins to the server

Add the following lines

 apoc.import.file.enabled=true
 apoc.export.file.enabled=true

#Useful for reading and writing data from and to files respectively

Restart the server

but couldn’t start the Neo4j server and getting an error saying that

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.

你可能感兴趣的:(neo4j)