Skip to content

无法通过配置文件正确运行 #6

Description

@purenjie

在 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()引发异常

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions