Neo4j User Defined Function cannot be installed


(Luca S ) #1

Hello everyone!

I am trying to create a user defined function in Neo4j. I did it exactly as they did it in their examples: https://github.com/neo4j-examples/neo4j-procedure-template. After deploying and creating the JAR I copied the JAR into the plugins folder at neo4j-community-3.4.9/plugins/ and also in neo4j-community-3.4.9/data/databases/graph.db/plugins/. But the functions are not displayed when typing CALL dmbs.functions(). When trying to use it like return example.join(['a','b']) it just says following:

Neo.ClientError.Statement.SyntaxError: Unknown function 'example.join' (line 1, column 16 (offset: 15))
"return example.join(['a','b'])"

(Michael Hunger) #2

Did you use the branch for Neo4j 3.4 or 3.5 ?


(Luca S ) #3

I have used neo4j 3.5.3 on linux. Now i changed to Windows Server with the same version of neo4j and it worked.