Comments (2)
Full stacktraces are here:
2024-07-04 09:22:11.200+0000 ERROR [o.n.g.f.DatabaseManagementServiceFactory] Error starting Neo4j database server at D:\neo4j_db\data\databases
org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.procedure.impl.GlobalProceduresRegistry@2d258eff' was successfully initialized
, but failed to start. Please see the attached cause exception "Unable to set up injection for procedure Xml
, the field apocConfig
has type c lass apoc.ApocConfig
which is not a known injectable component.".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:364) ~[neo4j-common-5.21.0.jar:5.21.0]
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:91) ~[neo4j-common-5.21.0.jar:5.21.0]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:271) [neo4j-5.21.0.
jar:5.21.0]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:215) [neo4j-5.21.0.jar:5.21.0]
at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:38) [neo4j-5.21.0.jar:5.21.0]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:184) [neo4j-5.21.0.jar:5.21.0]
at org.neo4j.server.BlockingBootstrapper.start(BlockingBootstrapper.java:46) [neo4j-5.21.0.jar:5.21.0]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:99) [neo4j-5.21.0.jar:5.21.0]
at org.neo4j.server.CommunityEntryPoint.start(CommunityEntryPoint.java:42) [neo4j-5.21.0.jar:5.21.0]
Caused by: org.neo4j.kernel.api.exceptions.ComponentInjectionException: Unable to set up injection for procedure Xml
, the field apocConfig
has
type class apoc.ApocConfig
which is not a known injectable component.
at org.neo4j.procedure.impl.FieldInjections.createInjector(FieldInjections.java:92) ~[neo4j-procedure-5.21.0.jar:5.21.0]
at org.neo4j.procedure.impl.FieldInjections.setters(FieldInjections.java:74) ~[neo4j-procedure-5.21.0.jar:5.21.0]
at org.neo4j.procedure.impl.ProcedureCompiler.compileProcedure(ProcedureCompiler.java:288) ~[neo4j-procedure-5.21.0.jar:5.21.0]
at org.neo4j.procedure.impl.ProcedureCompiler.compileProcedure(ProcedureCompiler.java:242) ~[neo4j-procedure-5.21.0.jar:5.21.0]
at org.neo4j.procedure.impl.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:89) ~[neo4j-procedure-5.21.0.jar:5.21.0]
at org.neo4j.procedure.impl.GlobalProceduresRegistry.unguardedLoadFromDisk(GlobalProceduresRegistry.java:240) ~[neo4j-procedure-5.21.0.jar
:5.21.0]
at org.neo4j.procedure.impl.GlobalProceduresRegistry.start(GlobalProceduresRegistry.java:209) ~[neo4j-procedure-5.21.0.jar:5.21.0]
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:347) ~[neo4j-common-5.21.0.jar:5.21.0]
... 8 more
from apoc.
After reviewing system requirements, I replaced openjdk17 with oraclejdk21. And now it's working normally with apoc enabled.
So this is just a jdk issue. Sorry for disturbing, should read manuals carefully.
Reference:
https://neo4j.com/docs/operations-manual/current/installation/requirements/
For cloud environments, and server-based, on-premise environments:
Operating System Supported JDK Windows Server 2016, 2019, 2022 OracleJDK 17, ZuluJDK 17
from apoc.
Related Issues (20)
- apoc.periodic.repeat does not affect HOT 1
- IndexEntryConflictException with apoc.merge.node HOT 2
- Unable to see apoc meta schema or apoc meta data HOT 2
- apoc.create.virtual.fromNode should wrap the existing node while keeping it's node-id and elementId but it doesn't HOT 4
- Data format discrepancy with and without using the option bulkImport: true HOT 1
- apoc.meta.data() fails when there is a relationship-type `RELATIONSHIP` breaks GenAI integrations HOT 6
- Failed to invoke procedure `apoc.meta.data`: Caused by: java.lang.IllegalArgumentException: duplicate element: RELATIONSHIP HOT 4
- RBAC Major security flaw HOT 2
- [apoc.spatial.geocodeOnce] Run failed HOT 2
- apoc.do.case not populating UpdateStatistics HOT 1
- Cypher script generated by apoc.export.cypher.all leaves the temporary `UNIQUE IMPORT ID REL` relationship properties HOT 1
- Inconsistent treatment of escape character "\" when performing apoc.import.csv on nodes vs relationships HOT 5
- PageGraph GraphML file cannot be imported: Failed to invoke procedure `apoc.import.graphml`: Caused by: java.lang.NullPointerException: Cannot invoke "String.split(String)" because "id" is null HOT 3
- Problems in the execution of trigger
- Trigger in composite databases HOT 1
- single node handling in apoc.refactor.mergeNodes HOT 2
- No results being returned by `apoc.export.json.all` when `writeNodeProperties: true` for a large dataset when writing to a stream HOT 1
- apoc.convert.toTree marked as deprecated with alternative not in documentation HOT 2
- Mongo APOC loading HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apoc.