1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Neo4jの起動エラー

Posted at

spring bootがエラーで起動せず。
そもそも、neo4jをstartする時点で、以下エラーになっていた。

org.neo4j.cli.CommandFailedException: Failed to read config /opt/homebrew/Cellar/neo4j/5.2.0/libexec/conf/neo4j.conf: Unrecognized setting. No declared setting with name: wrapper.java.additional.4. Cleanup the config or disable 'server.config.strict_validation.enabled' to continue.

上記にあるように、server.config.strict_validation.enabled=falseを設定してみたら、一応neo4jは起動したが、以下ワーニングは出ていた。

Starting Neo4j.
WARNING! You are using an unsupported Java runtime.
* Please use Oracle(R) Java(TM) 17, OpenJDK(TM) 17 to run Neo4j.
* Please see https://neo4j.com/docs/ for Neo4j installation instructions.
Started neo4j (pid:12089). It is available at http://localhost:7474
There may be a short delay until the server is ready.

openJDKのバージョンが古いらしい。
Macでjavaを複数管理して切り替える方法を模索すればできるかも。

以下、調べた事とか。
https://qiita.com/yamato999/items/283a0779709bb7a9cbda

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?