springboot 集成neo4j打jar包后扫描不到实体
发布于 4 年前 作者 lkyizhi 1495 次浏览 来自 问答

springboot 集成neo4j打内嵌Tomcat可执行jar包后 报警告 owing classinfo is null 看了源码,应该是没扫描实体 开发环境没有问题 ,求问怎么解决

2 回复

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

请问一下 这个问题您解决了么 怎么解决的,我也遇到这个问题了

回到顶部