2013-04-16 36 views
0

我试图将一个小的neo4j数据库连接到Mac狮子与自制的neo4j上的Linkurious,一个前端Web界面。该图最初工作正常,可以从webser访问,但是在将其连接到Linkrals的过程中,出现了一些问题。Neo4j服务器未加载:Logback.xml文件未找到

当我尝试启动的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 [email protected] - 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 [email protected] - 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. 

本地主机:7475然后继续挂机。我认为,这是一个问题的路径,所以我添加NEO4J_HOME到neo4j文件,像这里:https://groups.google.com/forum/#!msg/neo4j/NMVHoflUrHo/warnQUInGCgJ(Bhargava的解决方案)。

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

回答

0

消息

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

表示该文件自定义logback.xml找不到。

+0

它应该是在什么地方?在java或neo4j家中? –

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>