项目场景:
最近在学配置 springboot连接Neo4j
问题描述:
看到许多博客都提示应该像下面这么写,但是我们这么写之后,显示后两句被划掉了,猜测可能是语法老了?
@Override
#spring.data.neo4j.uri=bolt://localhost
spring.data.neo4j.username=neo4j(用户名)
spring.data.neo4j.password=123456(密码)
解决方案:
通过百度,发现下面的描述有效
spring.neo4j.url=bolt://localhost:7687
spring.neo4j.username=neo4j
spring.neo4j.password=123456
如果有描述错误,请指正!