InteractiveGraph-neo4j
InteractiveGraph-neo4j copied to clipboard
无法通过配置文件正确运行
在 neo4j http://localhost:7474/browser/ 中显示 user neo4j to bolt://localhost:7687
- WEB-INF 文件夹下 conf1.properties 配置如下
#allowOrigin=http://localhost:63342
allowOrigin=*
backendType=neo4j-bolt
neo4j.boltUrl=bolt://localhost:7687
neo4j.boltUser=neo4j
neo4j.boltPassword=123 # neo4j 数据库密码为 123
neo4j.regexpSearchFields=name
neo4j.strictSearchFields=label:name
neo4j.nodeCategories=person:人物,event:事件,location:地点
visNodeProperty.label==$prop.name
visNodeProperty.value==$prop.value
visNodeProperty.image==$prop.image
visNodeProperty.info=<p align=center> #if($prop.image) <img width=150 src="${prop.image}"><br> #end <b>${prop.name}[${prop.id}]</b></p><p align=left>${node.info}</p>
访问 http://localhost:8080/graphserver/connector-bolt 显示 HTTP 状态 405 - 方法不允许 此 URL 不支持 Http 方法 GET
- 通过配置 conf2.properties 也无法正确运行
#allowOrigin=http://localhost:63342
allowOrigin=*
backendType=neo4j-db
# neo4j.dataDir=WEB-INF/databases/data.db
neo4j.dataDir=neo4j-community-3.5.1/data/databases/graph.db
neo4j.boltPort=7688
# 下面内容省略
访问 http://localhost:8080/graphserver/connector-neodb 显示 HTTP 状态 500 - 内部服务器错误 Servlet [connector2] 的 Servlet.init()引发异常
InteractiveGraphServer直接通过url是无法访问的。你需要配合InteractiveGraph使用。 InteractiveGraphServer is inaccessible directly through a URL. You need to connect it with InteractiveGraph.
使用 InteractiveGraph 之后第一次加载数据库成功,但是第三个页面无法正常使用。之后关闭 tomcat 后第二天重新开启又无法读取数据库文件,访问的时候显示
16-Oct-2020 14:56:57.911 信息 [http-nio-8080-exec-13] org.neo4j.driver.internal.logging.JULogger.info Direct driver instance 1975435023 created for server address localhost:7687
16-Oct-2020 14:56:59.914 信息 [http-nio-8080-exec-13] org.neo4j.driver.internal.logging.JULogger.info Closing connection pool towards localhost:7687
你好,请问example3无法正常使用具体是什么地方出问题了。另外第二天重新开启报错应该是和Neo4j建立连接时出错,建议重启Neo4j试试。
请问配置文件中的prop和node分别指代的是什么?