【发布时间】:2021-01-26 22:57:10
【问题描述】:
我目前正在尝试在我的 Raspberry Pi 上安装 Neo4j。到目前为止,最新版本的 installation 运行良好。
当我尝试neo4j start 时,我收到了此错误消息,但能够通过设置dbms.memory.heap.initial_size=12m 和dbms.memory.heap.max_size=12m 和dbms.memory.pagecache.size=1g 来解决它(尽管我感觉不对,因为我的Pi 有8GB 内存):
nohup: ignoring input
2021-01-26 21:54:18.409+0000 ERROR Invalid memory configuration - exceeds physical memory. Check the configured values for dbms.memory.pagecache.size and db>
2021-01-26 21:54:18.436+0000 INFO Neo4j Server shutdown initiated by request
2021-01-26 21:54:18.437+0000 INFO Stopped.
现在,当我尝试启动 neo4j 时,我的日志中出现以下错误:
nohup: ignoring input
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.neo4j.configuration.GraphDatabaseSettings
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:105)
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:90)
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:35)
2021-01-26 22:20:55.271+0000 INFO [o.n.s.CommunityBootstrapper] Neo4j Server shutdown initiated by request
2021-01-26 22:20:55.290+0000 INFO [o.n.s.CommunityBootstrapper] Stopped.
我现在已经尝试用谷歌搜索这个问题几个小时,但我觉得我真的不知道要寻找什么。
我的设置:
- 树莓派 4(8 GB 内存)
- Ubuntu 服务器(
uname -a返回Linux ubuntu 5.8.0-1011-raspi #14-Ubuntu SMP PREEMPT Tue Dec 15 08:53:29 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux) - Java 11(
java -version返回openjdk version "11.0.9.1" 2020-11-04 OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.10) OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.10, mixed mode)) - Neo4j 版本 4.2.3
【问题讨论】:
标签: java linux ubuntu neo4j raspberry-pi