天天看點

neo4j安裝_安裝neo4j

neo4j安裝_安裝neo4j

安裝neo4j

https://www.cnblogs.com/ljhdo/archive/2017/05/19/5521577.html

安裝Java JDK

連結:https://blog.csdn.net/qq_40670946/article/details/90200364
錯誤:javac不是内部或外部指令,也不是可運作的程式或批處理檔案
解決:cmd 重新開機不重新開機 無所謂的   最關鍵的是 win10path必去去掉分号并且分行才行
           

啟動neo4j

錯誤:

======== Neo4j 4.1.3 ========
2020-10-25 06:49:24.294+0000 ERROR Failed to start Neo4j on dbms.connector.http.listen_address, a socket address. If missing port or hostname it is acquired from dbms.default_listen_address. Error starting Neo4j database server at C:AmyLearnneo4j-community-4.1.3datadatabases
java.lang.RuntimeException: Error starting Neo4j database server at C:AmyLearnneo4j-community-4.1.3datadatabases
        at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:198)
        at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:158)
        at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:36)
        at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:117)
        at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:87)
        at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:35)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component '[email protected]' failed to initialize. Please see the attached cause exception "Operation not supported: bind".
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:424)
        at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:65)
        at org.neo4j.bolt.BoltServer.init(BoltServer.java:166)
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:403)
        at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:65)
        at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:101)
        at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:189)
        ... 5 more
Caused by: java.lang.IllegalStateException: failed to create a child event loop
        at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:88)
        at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:58)
        at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:47)
        at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:59)
        at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:86)
        at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:81)
        at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:68)
        at org.neo4j.bolt.transport.configuration.NioConfigurationProvider.createEventLoopGroup(NioConfigurationProvider.java:40)
        at org.neo4j.bolt.transport.NettyServer.init(NettyServer.java:123)
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:403)
        ... 11 more
Caused by: io.netty.channel.ChannelException: failed to open a new selector
        at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:175)
        at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:142)
        at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:146)
        at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:37)
        at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84)
        ... 20 more
Caused by: java.io.IOException: Unable to establish loopback connection
        at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:94)
        at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:61)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/sun.nio.ch.PipeImpl.<init>(PipeImpl.java:171)
        at java.base/sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50)
        at java.base/java.nio.channels.Pipe.open(Pipe.java:155)
        at java.base/sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:142)
        at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44)
        at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:173)
        ... 24 more
Caused by: java.net.SocketException: Operation not supported: bind
        at java.base/sun.nio.ch.Net.bind0(Native Method)
        at java.base/sun.nio.ch.Net.bind(Net.java:461)
        at java.base/sun.nio.ch.Net.bind(Net.java:453)
        at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
        at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80)
        at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:73)
        at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:121)
        at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:76)
        ... 32 more
2020-10-25 06:49:24.298+0000 INFO  Neo4j Server shutdown initiated by request
           

解決:重新開機,防火牆允許此程式