neo4j 不识别eneity中的属性

2 篇文章 0 订阅
2 篇文章 0 订阅

报错

2020-06-04 00:44:18.893  WARN 12552[           main] o.s.d.n.mapping.Neo4jPersistentProperty  : Owning ClassInfo is null for property: private java.lang.Long com.example.demo.node.UserNode.nodeId
2020-06-04 00:44:18.908  WARN 12552[           main] o.s.d.n.mapping.Neo4jPersistentProperty  : Owning ClassInfo is null for property: private java.lang.String com.example.demo.node.UserNode.userId
2020-06-04 00:44:18.908  WARN 12552[           main] o.s.d.n.mapping.Neo4jPersistentProperty  : Owning ClassInfo is null for property: private java.lang.String com.example.demo.node.UserNode.name
2020-06-04 00:44:18.908  WARN 12552[           main] o.s.d.n.mapping.Neo4jPersistentProperty  : Owning ClassInfo is null for property: private int com.example.demo.node.UserNode.age
2020-06-04 00:44:19.018  WARN 12552[           main] o.s.d.n.mapping.Neo4jPersistentProperty  : Owning ClassInfo is null for property: private java.lang.Long com.example.demo.node.Person.id
2020-06-04 00:44:19.018  WARN 12552[           main] o.s.d.n.mapping.Neo4jPersistentProperty  : Owning ClassInfo is null for property: private java.lang.String com.example.demo.node.Person.name
2020-06-04 00:44:19.033  WARN 12552[           main] o.s.d.n.mapping.Neo4jPersistentProperty  : Owning ClassInfo is null for property: private java.lang.Long com.example.demo.node.Movie.id
2020-06-04 00:44:19.033  WARN 12552[           main] o.s.d.n.mapping.Neo4jPersistentProperty  : Owning ClassInfo is null for property: private java.lang.String com.example.demo.node.Movie.title
2020-06-04 00:44:19.033  WARN 12552[           main] o.s.d.n.mapping.Neo4jPersistentProperty  : Owning ClassInfo is null for property: private java.lang.String com.example.demo.node.Movie.released
2020-06-04 00:44:19.033  WARN 12552[           main] o.s.d.n.mapping.Neo4jPersistentProperty  : Owning ClassInfo is null for property: public java.util.Set com.example.demo.node.Movie.actors
2020-06-04 00:44:19.033  WARN 12552[           main] o.s.d.n.mapping.Neo4jPersistentProperty  : Owning ClassInfo is null for property: public java.util.Set com.example.demo.node.Movie.directers

原因:neo4j版本大于springboot版本。
neo4j版本
springboot版本
解决:将springboot版本提高到neo4j版本之上,并去掉neo4j的版本号。
修改后的soringboot版本

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值