Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Neo4j服务器未启动:_Neo4j_Graph Databases - Fatal编程技术网

Neo4j服务器未启动:

Neo4j服务器未启动:,neo4j,graph-databases,Neo4j,Graph Databases,我使用的是Neo4j 2.3.0-M03社区版。我使用neo4j导入工具创建了一个数据库。现在,当我要启动neo4j服务器时,它失败了。有什么建议吗?提前谢谢 正在启动Neo4j服务器…警告:未更改用户 进程[21597]。。。正在等待服务器准备就绪。。。。。。。。。未能在120秒内启动。 Neo4j服务器可能无法启动,请检查日志 日志如下: 2015-10-14 14:55:35.438-0400 INFO No SSL certificate found, generating a sel

我使用的是Neo4j 2.3.0-M03社区版。我使用neo4j导入工具创建了一个数据库。现在,当我要启动neo4j服务器时,它失败了。有什么建议吗?提前谢谢

正在启动Neo4j服务器…警告:未更改用户 进程[21597]。。。正在等待服务器准备就绪。。。。。。。。。未能在120秒内启动。 Neo4j服务器可能无法启动,请检查日志

日志如下:

2015-10-14 14:55:35.438-0400 INFO  No SSL certificate found, generating a self-signed certificate..
14:55:35.936 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework
14:55:36.105 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
14:55:36.106 [main] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
14:55:36.107 [main] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
14:55:36.107 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: true
14:55:36.108 [main] DEBUG i.n.util.internal.PlatformDependent - Java version: 7
14:55:36.108 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noUnsafe: false
14:55:36.109 [main] DEBUG i.n.util.internal.PlatformDependent - sun.misc.Unsafe: available
14:55:36.109 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noJavassist: false
14:55:36.110 [main] DEBUG i.n.util.internal.PlatformDependent - Javassist: unavailable
14:55:36.110 [main] DEBUG i.n.util.internal.PlatformDependent - You don't have Javassist in your class path or you don't have enough permission to load dynamically generated classes.  Please check the configuration for better performance.
14:55:36.110 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
14:55:36.110 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)
14:55:36.110 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false
14:55:36.119 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetectionLevel: simple
14:55:36.135 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: unpooled
14:55:36.135 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 65536
2015-10-14 14:55:41.341-0400 INFO  Successfully started database
2015-10-14 14:55:41.405-0400 INFO  Starting HTTP on port 7474 (32 threads available)
2015-10-14 14:55:41.659-0400 INFO  Successfully shutdown Neo4j Server
2015-10-14 14:55:42.224-0400 INFO  Successfully stopped database
2015-10-14 14:55:42.227-0400 ERROR Failed to start Neo4j: Starting Neo4j failed: tried to access field org.neo4j.server.rest.repr.RepresentationFormat.mediaType from class org.neo4j.server.rest.repr.RepresentationFormatRepository Starting Neo4j failed: tried to access field org.neo4j.server.rest.repr.RepresentationFormat.mediaType from class org.neo4j.server.rest.repr.RepresentationFormatRepository
org.neo4j.server.ServerStartupException: Starting Neo4j failed: tried to access field org.neo4j.server.rest.repr.RepresentationFormat.mediaType from class org.neo4j.server.rest.repr.RepresentationFormatRepository
        at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:67)
        at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:234)
        at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:96)
        at org.neo4j.server.CommunityBootstrapper.start(CommunityBootstrapper.java:48)
        at org.neo4j.server.CommunityBootstrapper.main(CommunityBootstrapper.java:35)
Caused by: java.lang.IllegalAccessError: tried to access field org.neo4j.server.rest.repr.RepresentationFormat.mediaType from class org.neo4j.server.rest.repr.RepresentationFormatRepository
        at org.neo4j.server.rest.repr.RepresentationFormatRepository.<init>(RepresentationFormatRepository.java:46)
        at org.neo4j.server.AbstractNeoServer.createDefaultInjectables(AbstractNeoServer.java:641)
        at org.neo4j.server.AbstractNeoServer.configureWebServer(AbstractNeoServer.java:360)
        at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:216)
        ... 3 more
2015-10-14 14:55:35.438-0400信息未找到SSL证书,正在生成自签名证书。。
14:55:35.936[main]调试i.n.u.i.l.InternalLoggerFactory-使用SLF4J作为默认日志框架
14:55:36.105[main]调试i.n.util.internal.PlatformDependent0-java.nio.Buffer.address:可用
14:55:36.106[main]调试i.n.util.internal.PlatformDependent0-sun.misc.Unsafe.theUnsafe:可用
14:55:36.107[main]调试i.n.util.internal.PlatformDependent0-sun.misc.Unsafe.copyMemory:可用
14:55:36.107[main]调试i.n.util.internal.PlatformDependent0-java.nio.Bits.unaligned:true
14:55:36.108[main]调试i.n.util.internal.PlatformDependent-Java版本:7
14:55:36.108[main]调试i.n.util.internal.PlatformDependent---Dio.netty.noUnsafe:false
14:55:36.109[main]调试i.n.util.internal.PlatformDependent-sun.misc.Unsafe:可用
14:55:36.109[main]调试i.n.util.internal.PlatformDependent---Dio.netty.noJavassist:false
14:55:36.110[main]调试i.n.util.internal.PlatformDependent-Javassist:不可用
14:55:36.110[main]DEBUG i.n.util.internal.PlatformDependent-您的类路径中没有Javassist,或者您没有足够的权限加载动态生成的类。请检查配置以获得更好的性能。
14:55:36.110[main]调试i.n.util.internal.PlatformDependent--Dio.netty.tmpdir:/tmp(java.io.tmpdir)
14:55:36.110[main]调试i.n.util.internal.PlatformDependent--Dio.netty.bitMode:64(sun.arch.data.model)
14:55:36.110[main]调试i.n.util.internal.PlatformDependent--Dio.netty.noPreferDirect:false
14:55:36.119[main]调试io.netty.util.ResourceLeakDetector---Dio.netty.leakDetectionLevel:简单
14:55:36.135[main]调试io.netty.buffer.ByteBufUtil---Dio.netty.allocator.type:unpooled
14:55:36.135[main]调试io.netty.buffer.ByteBufUtil---Dio.netty.threadLocalDirectBufferSize:65536
2015-10-14 14:55:41.341-0400信息已成功启动数据库
2015-10-14 14:55:41.405-0400信息在端口7474上启动HTTP(32个线程可用)
2015-10-14 14:55:41.659-0400信息成功关闭Neo4j服务器
2015-10-14 14:55:42.224-0400信息已成功停止数据库
2015-10-14 14:55:42.227-0400启动Neo4j失败的错误:启动Neo4j失败:尝试从类org.Neo4j.server.rest.repr.repr.RepresentationFormat.mediaType访问字段org.Neo4j.server.rest.repr.repr.RepresentationFormat存储库启动Neo4j失败:尝试从类访问字段org.Neo4j.server.rest.repr.RepresentationFormat.mediaTypeorg.neo4j.server.rest.repr.RepresentationFormatRepository
org.neo4j.server.ServerStartupException:启动neo4j失败:尝试从类org.neo4j.server.rest.repr.RepresentationFormat.mediaType访问域org.neo4j.server.rest.repr.RepresentationFormatRepository
位于org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:67)
位于org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:234)
位于org.neo4j.server.Bootstrapper.start(Bootstrapper.java:96)
位于org.neo4j.server.CommunityBootstrapper.start(CommunityBootstrapper.java:48)
位于org.neo4j.server.CommunityBootstrapper.main(CommunityBootstrapper.java:35)
原因:java.lang.IllegalAccessError:试图从类org.neo4j.server.rest.repr.repr.RepresentationFormat.mediaType访问org.neo4j.server.rest.repr.RepresentationFormatRepository字段
位于org.neo4j.server.rest.repr.RepresentationFormatRepository.(RepresentationFormatRepository.java:46)
位于org.neo4j.server.AbstractNeoServer.createDefaultInjectables(AbstractNeoServer.java:641)
位于org.neo4j.server.AbstractNeoServer.configureWebServer(AbstractNeoServer.java:360)
位于org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:216)
... 3个以上

在Neo4j安装目录的lib文件夹上似乎存在一些权限问题。 尝试授予neo4j安装文件夹的完全权限


还建议使用稳定版本,而不是里程碑版本。

我可以修复它。我的嵌入式数据库出现了一些问题。我尝试使用默认的graph.db运行服务器,但运行成功。现在,我必须确定使用导入工具创建的嵌入式数据库有什么问题。

谢谢您的建议。但在我尝试使用遍历API在数据库上实现BFS遍历之前,它运行良好。我在jdk lib文件夹中创建了Neo4j库文件的软链接,以使它们对我的应用程序可见。然后,我的代码运行良好,可以从数据库中获取遍历路径。但是,当我再次尝试运行服务器时,尝试使用Neo4j shell中的一些密码。它给出了这个错误。