neo4j-apoc-procedures
neo4j-apoc-procedures copied to clipboard
Unable to bring database up in Neo4j 4.4 using the `expand-commands' with APOC jar in the plugins directory
Expected Behavior (Mandatory)
Neo4j 4.4, on windows, with APOC 4.4 plugin, using expand-commands should start up with no fuss
Actual Behavior (Mandatory)
Neo4j 4.4, on windows, with APOC 4.4 plugin, using expand-commands fails to start.
The following error occurs on startup :
2022-07-06 14:35:19 Apache Commons Daemon procrun stderr initialized.
java.lang.NoSuchMethodError: 'java.lang.String org.apache.commons.lang3.SystemUtils.getUserName()'
at org.neo4j.configuration.Config$Builder.validateFilePermissionForCommandExpansion(Config.java:356)
at org.neo4j.configuration.Config$Builder.build(Config.java:318)
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:115)
at org.neo4j.server.BlockingBootstrapper.start(BlockingBootstrapper.java:45)
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:95)
at com.neo4j.server.enterprise.EnterpriseEntryPoint.start(EnterpriseEntryPoint.java:38)
This issue seems similar to issue #2215 (org.apache.commons.lang3
version conflict between Neo4j dependency and APOC dependency), fixed by #2216 but only on 4.3 apparently.
How to Reproduce the Problem
Steps (Mandatory)
- Deploy a neo4j 4.4 on windows
- with APOC 4.4.0.3 plugin
- neo4j.conf : use a command expansion
some.setting=$(echo 123)
- use
neo4j start --expand-commands
to start neo4j
Versions
- OS: windows
- Neo4j: 4.4.8
- Neo4j-Apoc: 4.4.0.3