Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
11-11-2020 12:13 PM
Hi.
I'm on Ubuntu 20 (but I also got the same error when I was on Ubuntu18).
Here's what I did:
But it fails to start, giving the following error:
Active database: graph.db
Directories in use:
home: /home/sd/Downloads/neo4j.3.5/neo4j-community-3.5.23
config: /home/sd/Downloads/neo4j.3.5/neo4j-community-3.5.23/conf
logs: /home/sd/Downloads/neo4j.3.5/neo4j-community-3.5.23/logs
plugins: /home/sd/Downloads/neo4j.3.5/neo4j-community-3.5.23/plugins
import: /home/sd/Downloads/neo4j.3.5/neo4j-community-3.5.23/import
data: /home/sd/Downloads/neo4j.3.5/neo4j-community-3.5.23/data
certificates: /home/sd/Downloads/neo4j.3.5/neo4j-community-3.5.23/certificates
run: /home/sd/Downloads/neo4j.3.5/neo4j-community-3.5.23/run
Starting Neo4j.
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
2020-11-11 18:21:10.066+0000 INFO ======== Neo4j 3.5.23 ========
2020-11-11 18:21:10.076+0000 INFO Starting...
2020-11-11 18:21:14.236+0000 INFO Bolt enabled on 127.0.0.1:7687.
2020-11-11 18:21:15.535+0000 INFO Started.
2020-11-11 18:21:15.702+0000 INFO Mounted unmanaged extension [n10s.endpoint] at [/rdf]
2020-11-11 18:21:16.126+0000 ERROR The ResourceConfig instance does not contain any root resource classes.
2020-11-11 18:21:16.126+0000 WARN unavailable The ResourceConfig instance does not contain any root resource classes.
com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
at com.sun.jersey.server.impl.application.RootResourceUriRules.<init>(RootResourceUriRules.java:99)
and many more lines from the java stack trace... until, after the stack trace,
2020-11-11 18:21:16.130+0000 ERROR Failed to start Neo4j on 127.0.0.1:7474: org.neo4j.server.web.NeoServletContainer-18876fa9@26337822==org.neo4j.server.web.NeoServletContainer,jsp=null,order=-1,inst=false,async=true
2020-11-11 18:21:16.136+0000 INFO Stopping...
2020-11-11 18:21:16.302+0000 INFO Stopped.
2020-11-11 18:21:16.304+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.AbstractNeoServer$ServerComponentsLifecycleAdapter@59ebe484' was successfully initialized, but failed to start. Please see the attached cause exception "The ResourceConfig instance does not contain any root resource classes.". Starting Neo4j failed: Component 'org.neo4j.server.AbstractNeoServer$ServerComponentsLifecycleAdapter@59ebe484' was successfully initialized, but failed to start. Please see the attached cause exception "The ResourceConfig instance does not contain any root resource classes.".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.AbstractNeoServer$ServerComponentsLifecycleAdapter@59ebe484' was successfully initialized, but failed to start. Please see the attached cause exception "The ResourceConfig instance does not contain any root resource classes.".
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:45)
Followed by another stack trace.
After which ,finally, I get
2020-11-11 18:21:16.305+0000 INFO Neo4j Server shutdown initiated by request
And that's it.
I don't get any errors with neo4j 4 and neosemantics 4.
I've tried overriding the JAVA_HOME enviroment variable by setting it to java8, java11 and java14. The only difference between the three is that java11 has an additional first output line warning me to use java8.
Any idea on how to solve this?
All the sessions of the conference are now available online