java.lang.ClassCastException: com.baidu.rigel.neo4jTest.domain.World cannot be cast to org.springframework.data.neo4j.aspects.core.NodeBacked

Google Groups | Unknown author | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    spring data neo4j advanced mapping throws exception "com.baidu.rigel.neo4jTest.domain.World cannot be cast to org.springframework.data.neo4j.aspects.core.NodeBacked"

    Google Groups | 3 years ago | Unknown author
    java.lang.ClassCastException: com.baidu.rigel.neo4jTest.domain.World cannot be cast to org.springframework.data.neo4j.aspects.core.NodeBacked

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.baidu.rigel.neo4jTest.domain.World cannot be cast to org.springframework.data.neo4j.aspects.core.NodeBacked

      at com.baidu.rigel.neo4jTest.Main.createWorld()
    2. com.baidu.rigel
      Main.main
      1. com.baidu.rigel.neo4jTest.Main.createWorld(Main.java:59)
      2. com.baidu.rigel.neo4jTest.Main.main(Main.java:21)
      2 frames