Announcement Announcement Module
Collapse
No announcement yet.
entity.persist() unresolved compilation problem when trying spring and neo4j Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • entity.persist() unresolved compilation problem when trying spring and neo4j

    Hi, anyone faced this problem?
    It's confused for me

    entity.persist() unresolved compilation problem when trying spring and neo4j

    Thanks in advance.

  • #2
    Does this only show up in your IDE or also during the maven build?

    Does this part of the Spring Data Graph Guide Book help you there:
    http://static.springsource.org/sprin...erence:aspectj

    ?

    Thanks

    Michael

    Comment


    • #3
      I wrote simple test to persist a node. I followed the pattern you outlined in your cineasts example. I get a NullPointerException when I execute the test in my maven build.

      java.lang.NullPointerException
      at org.springframework.data.graph.neo4j.support.node. Neo4jNodeBacking.ajc$interMethod$org_springframewo rk_data_graph_neo4j_support_node_Neo4jNodeBacking$ org_springframework_data_graph_core_NodeBacked$per sist(Neo4jNodeBacking.aj:120)
      at com.liivvo.entity.Media.persist(Media.java:1)
      at com.liivvo.test.sample.SampleTest.testPersistMedia (SampleTest.java:34)

      The error itself is pretty vague. Any clue what's going on here?

      Thanks in advance for your time and effort.

      Srikanth

      Comment


      • #4
        Without seeing your code it's not posdible to diagnose.

        Please make sure that the AppCtx is loaded correctly.

        Could you please otherwise share your code, maven config and spring configuration. As well as the log file showing that error.

        Thanks

        Michael

        Comment

        Working...
        X