neo4j服务器无法启动

时间:2014-08-10 01:12:35

标签: ubuntu azure neo4j

我有一个在AzureVM上运行的neo4j服务器。最近对Azure帖子进行了维护,我的服务器已停止再次启动。该日志给出以下错误:

*2014-08-10 00:26:49.405+0000 INFO  [API] Setting startup timeout to: 120000ms based on -1
Detected incorrectly shut down database, performing recovery..
2014-08-10 00:26:58.298+0000 INFO  [API] Successfully started database
2014-08-10 00:27:02.451+0000 INFO  [API] Starting HTTP on port :7474 with 10 threads available
2014-08-10 00:27:03.435+0000 INFO  [API] Enabling HTTPS on port :7473
2014-08-10 00:27:05.086+0000 INFO  [API] Mounted discovery module at [/]
2014-08-10 00:27:05.109+0000 INFO  [API] Mounted REST API at [/db/data/]
2014-08-10 00:27:05.120+0000 INFO  [API] Mounted management API at [/db/manage/]
2014-08-10 00:27:05.156+0000 DEBUG [API]
org.neo4j.server.ServerStartupException: Starting Neo4j Server failed: org.neo4j.server.configuration.Configurator.getThirdpartyJaxRsPackages()Ljava/util/List;
        at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:218) ~[neo4j-server-2.0.1.jar:2.0.1]
        at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87) [neo4j-server-2.0.1.jar:2.0.1]
        at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:50) [neo4j-server-2.0.1.jar:2.0.1]
Caused by: java.lang.NoSuchMethodError: org.neo4j.server.configuration.Configurator.getThirdpartyJaxRsPackages()Ljava/util/List;
        at org.neo4j.server.extension.auth.AuthenticationExtensionInitializer.getMyMountpoint(AuthenticationExtensionInitializer.java:101) ~[authentication-extension-2.0.3-1.0-SNAPSHOT.jar:2.0.3-1.0-SNAPSHOT]
        at org.neo4j.server.extension.auth.AuthenticationExtensionInitializer.start(AuthenticationExtensionInitializer.java:82) ~[authentication-extension-2.0.3-1.0-SNAPSHOT.jar:2.0.3-1.0-SNAPSHOT]
        at org.neo4j.server.modules.ExtensionInitializer.initializePackages(ExtensionInitializer.java:60) ~[neo4j-server-2.0.1.jar:2.0.1]
        at org.neo4j.server.modules.ThirdPartyJAXRSModule.start(ThirdPartyJAXRSModule.java:61) ~[neo4j-server-2.0.1.jar:2.0.1]
        at org.neo4j.server.AbstractNeoServer.startModules(AbstractNeoServer.java:310) ~[neo4j-server-2.0.1.jar:2.0.1]
        at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:183) ~[neo4j-server-2.0.1.jar:2.0.1]
        ... 2 common frames omitted
2014-08-10 00:27:05.157+0000 DEBUG [API] Failed to start Neo Server on port [7474]*

似乎服务器无法找到getThirdpartyJaxRsPackages()。有没有人对如何解决这个问题有任何建议?

编辑:neo4j版本是2.0.1社区分发

1 个答案:

答案 0 :(得分:0)

您遇到版本冲突,使用版本2.0.3的身份验证扩展 但是Neo4j服务器是版本2.0.1

最好将服务器升级到2.0.3。

我认为您不想为2.0.1的auth-extension构建自定义版本?