Code Monkey home page Code Monkey logo

Comments (2)

Bill-XU avatar Bill-XU commented on August 22, 2024

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.

Bill-XU avatar Bill-XU commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.