I have written a custom function, which I would like to import into Neo4j. Nor Neo4j or java complain about anything. I placed the jar under the $NEO4j_HOME/plugins directory and restarted the db, yet the function is no where to be seen.
Here are the logs:
2022-09-13 08:52:42.606+0000 INFO Neo4j Server shutdown initiated by request
2022-09-13 08:52:42.606+0000 INFO Stopped.
2022-09-13 08:53:53.414+0000 INFO Starting...
2022-09-13 08:53:54.015+0000 INFO This instance is ServerId{<private>} (<private>)
2022-09-13 08:53:56.003+0000 INFO ======== Neo4j 4.4.5 ========
2022-09-13 08:53:59.138+0000 INFO Sending metrics to CSV file at /Users/<private>/Library/Application Support/Neo4j Desktop/Application/relate-data/dbmss/dbms-541daf17-c602-49ef-9aab-bab9aeb69c4f/metrics
2022-09-13 08:53:59.194+0000 INFO Bolt enabled on localhost:7687.
2022-09-13 08:54:00.508+0000 INFO Remote interface available at http://localhost:7474/
2022-09-13 08:54:00.516+0000 INFO id: <private>
2022-09-13 08:54:00.516+0000 INFO name: system
2022-09-13 08:54:00.516+0000 INFO creationDate: 2022-09-13T08:30:37.347Z
2022-09-13 08:54:00.516+0000 INFO Started.
2022-09-13 08:54:45.595+0000 INFO Neo4j Server shutdown initiated by request
2022-09-13 08:54:45.597+0000 INFO Stopping...
2022-09-13 08:54:50.699+0000 INFO Stopped.
2022-09-13 08:54:56.619+0000 INFO Starting...
2022-09-13 08:54:57.174+0000 INFO This instance is ServerId{<private>} (<private>)
2022-09-13 08:54:59.097+0000 INFO ======== Neo4j 4.4.5 ========
2022-09-13 08:55:02.071+0000 INFO Sending metrics to CSV file at /Users/<private>/Library/Application Support/Neo4j Desktop/Application/relate-data/dbmss/dbms-541daf17-c602-49ef-9aab-bab9aeb69c4f/metrics
2022-09-13 08:55:02.124+0000 INFO Bolt enabled on localhost:7687.
2022-09-13 08:55:03.337+0000 INFO Remote interface available at http://localhost:7474/
2022-09-13 08:55:03.346+0000 INFO id: <private>
2022-09-13 08:55:03.346+0000 INFO name: system
2022-09-13 08:55:03.346+0000 INFO creationDate: 2022-09-13T08:30:37.347Z
2022-09-13 08:55:03.346+0000 INFO Started.
When I run: SHOW FUNCTIONS YIELD * I do not see mine listed.
@UserFunction
@Description("procedure.getPixelDist(012345678, 012345678, 10) - calculate the distance between the two pixels.")
public boolean getPixelDist(@Name("p1") String pixelOne, @Name("p2") String pixelSecond,
@Name("threshold") Integer threshold) throws Exception;
I have tried everything, that I could find on the internet to fix it. Thanks for the help in advance :)