0

我正在尝试在 Mac Lion 上使用自制的 neo4j 将小型 neo4j db 连接到前端 Web 界面 Linkurious。该图最初工作正常,可以从网络服务器访问,但在将其连接到 Linkurious 的过程中,出现了问题。

当我尝试启动 neo4j 时,服务器现在挂起,我得到以下输出:

Starting Neo4j Server...19:31:30,507 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
19:31:30,507 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
19:31:30,508 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/usr/local/Cellar/neo4j/community-1.8.1-unix/libexec/system/lib/neo4j-server-1.8.1.jar!/logback.xml]
19:31:30,536 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@33d6f122 - URL [jar:file:/usr/local/Cellar/neo4j/community-1.8.1-unix/libexec/system/lib/neo4j-server-1.8.1.jar!/logback.xml] is not of type file
19:31:30,632 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
19:31:30,646 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
19:31:30,650 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
19:31:30,670 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
19:31:30,737 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
19:31:30,737 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
19:31:30,740 |-ERROR in ch.qos.logback.core.joran.action.IncludeAction - Could not find resource corresponding to [custom-logback.xml]
19:31:30,742 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@647109c4 - Registering current configuration as safe fallback point

WARNING: not changing user
process [2350]... waiting for server to be ready...... OK.
Go to http://localhost:7475/webadmin/ for administration interface.

localhost:7475 然后继续挂断。我认为这是路径的问题,所以我将 NEO4J_HOME 附加到 neo4j 文件中,如下所示:https ://groups.google.com/forum/#!msg/neo4j/NMVHoflUrHo/warnQUInGCgJ (Bhargava 的解决方案)。

尽管如此,问题仍然存在。想法?我不知道日志文件的作用以及为什么需要它们。

4

2 回答 2

2

如果你不关心这个 logback,你可以排除它的库。在 Maven 中,您可以按以下方式执行此操作:

<dependency>
    <groupId>org.neo4j.app</groupId>
    <artifactId>neo4j-server</artifactId>
    <version>${neo4j.version}</version>
    <exclusions>
        <exclusion>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
        </exclusion>
        <exclusion>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-access</artifactId>
        </exclusion>
    </exclusions>
</dependency>
于 2013-04-17T07:33:15.550 回答
0

讯息

19:31:30,740 |-ERROR in ch.qos.logback.core.joran.action.IncludeAction - Could not find resource corresponding to [custom-logback.xml]

表示找不到文件 custom-logback.xml。

于 2013-04-17T06:04:53.653 回答