cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Getting Error:Could not find or load main class org.neo4j.server.CommunityEntryPoint

Hello
I have installed neo4j 4..1.1 in ec2 instance by rpm . Firstly it was working ok that time, I also put apoc apoc-4.1.0.2-all.jar and gds 1.3 library in plugins. and configured neo4j.conf file. I am running neo4j as service

after
systemctl start neo4j
when I checked the log using
journalctl -e -u neo4j
I am seeing this error

Oct 06 07:23:00 ip-10-10-1-206.ap-southeast-1.compute.internal neo4j[20669]: home:         /var/lib/neo4j
Oct 06 07:23:00 ip-10-10-1-206.ap-southeast-1.compute.internal neo4j[20669]: config:       /etc/neo4j
Oct 06 07:23:00 ip-10-10-1-206.ap-southeast-1.compute.internal neo4j[20669]: logs:         /usr/local/var/log/neo4j
Oct 06 07:23:00 ip-10-10-1-206.ap-southeast-1.compute.internal neo4j[20669]: plugins:      /usr/local/Cellar/neo4j/4.1.1/libexec/plugins
Oct 06 07:23:00 ip-10-10-1-206.ap-southeast-1.compute.internal neo4j[20669]: import:       /var/lib/neo4j/import
Oct 06 07:23:00 ip-10-10-1-206.ap-southeast-1.compute.internal neo4j[20669]: data:         /usr/local/var/neo4j/data
Oct 06 07:23:00 ip-10-10-1-206.ap-southeast-1.compute.internal neo4j[20669]: certificates: /var/lib/neo4j/certificates
Oct 06 07:23:00 ip-10-10-1-206.ap-southeast-1.compute.internal neo4j[20669]: run:          /var/lib/neo4j/run
Oct 06 07:23:00 ip-10-10-1-206.ap-southeast-1.compute.internal neo4j[20669]: Starting Neo4j.
Oct 06 07:23:01 ip-10-10-1-206.ap-southeast-1.compute.internal neo4j[20669]: Error: Could not find or load main class org.neo4j.server.CommunityEntryPoint
Oct 06 07:23:01 ip-10-10-1-206.ap-southeast-1.compute.internal neo4j[20669]: Caused by: java.lang.ClassNotFoundException: org.neo4j.server.CommunityEntryPoint
Oct 06 07:23:01 ip-10-10-1-206.ap-southeast-1.compute.internal systemd[1]: neo4j.service: main process exited, code=exited, status=1/FAILURE
Oct 06 07:23:01 ip-10-10-1-206.ap-southeast-1.compute.internal systemd[1]: Unit neo4j.service entered failed state.
Oct 06 07:23:01 ip-10-10-1-206.ap-southeast-1.compute.internal systemd[1]: neo4j.service failed.

I have installed Oracle JDK 11.08 in /usr/lib/jvm and my /etc/ environment is like this

PATH="/usr/lib/jvm/jdk-11.0.8/bin"

JAVA_HOME="/usr/lib/jvm/jdk-11.0.8"

How could I solve this problem

1 REPLY 1

bmalbusca
Node Clone

Have solved this issue? @kalyan.b.aninda

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online