I am not sure but I think you are using older versions of the libs that get
pulled in. Could you please post the output of
mvn dependency:tree
?

/peter

Sent from my phone.
On Aug 17, 2011 6:00 AM, "etc1" <[email protected]> wrote:
> I am still having difficulty in getting a simple project to compile in
> Eclipse STS. I have a few questions:
>
> What's the difference between annotations in
> org.springframework.data.neo4j.annotation and
> org.springframework.data.graph.annotation? The @NodeEntity and @Indexed
> annotations appear to be defined in both.
>
> I can't seem to figure out why the relateTo(NodeBacked,RelationshipTyp)
> methods does not resolve for my entities annotated with @NodeEntity
>
> I'm using the following versions in my pom file...
> java-version, 1.6
> org.springframework-version, 3.0.5.RELEASE
> org.springframework.roo-version, 1.0.2.RELEASE
> org.aspectj-version, 1.6.11.RELEASE
> org.slf4j-version, 1.6.1
> datastore-graph.version, 1.0.0.RELEASE
>
>
> I'm even having trouble getting the hello-worlds example working. Eclipse
> complains that "Type mismatch: cannot convert from Class<World> to Class<?
> extends NodeBacked>"
>
> @RelatedTo(type = "REACHABLE_BY_ROCKET", elementClass = World.class,
> direction = Direction.BOTH)
> private Set<World> reachableByRocket;
>
> But why does it complain when World.class is node-backed since it's marked
> with @NodeEntity???. I know hello-worlds is meant to be an example, but
it's
> not helpful when it doesn't work.
>
> Thanks, any help would be appreciated
> Raffi
>
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to