Announcement Announcement Module
Collapse
No announcement yet.
newbie nosql neo4j sample question Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • newbie nosql neo4j sample question

    I am having trouble setting up sts eclipse for neo4j spring development.


    Please let me know what I am doing wrong:

    1) grab the example code - git clone https://github.com/jexp/cineasts.git

    2) cd cineast

    3) mvn test -> runs tests 19: Failures : 0 Errors: 0 Skipped: 0

    4) mvn eclipse:eclipse

    5) open sts, and import->general-> existing project

    6) select pom.xml -> run as -> maven test same 19 tests pass 0 problems

    7) When I look at package explorer, I get the following errors,


    Am I doing something wrong when I import the project?

    Thanks,
    Michael

    Description Resource Path Location Type
    Bound mismatch: The generic method endEntity(Class<T>...) of type EntityPath<S,E> is not applicable for the arguments (). The inferred type User is not a valid substitute for the bounded parameter <T extends NodeBacked> FriendsMovieRecommendations.java /movies/src/main/java/org/neo4j/cineasts/service line 61 Java Problem
    Bound mismatch: The generic method findAllByTraversal(N, TraversalDescription) of type TraversalRepository<T> is not applicable for the arguments (User, TraversalDescription). The inferred type User is not a valid substitute for the bounded parameter <N extends NodeBacked> MovieRecommendations.java /movies/src/main/java/org/neo4j/cineasts/service line 45 Java Problem
    Bound mismatch: The type Movie is not a valid substitute for the bounded parameter <T extends GraphBacked<?>> of the type GraphRepository<T> MovieRepository.java /movies/src/main/java/org/neo4j/cineasts/repository line 11 Java Problem
    Bound mismatch: The type Movie is not a valid substitute for the bounded parameter <T extends GraphBacked<?>> of the type NamedIndexRepository<T> MovieRepository.java /movies/src/main/java/org/neo4j/cineasts/repository line 11 Java Problem
    Bound mismatch: The type Person is not a valid substitute for the bounded parameter <T extends GraphBacked<?>> of the type GraphRepository<T> PersonRepository.java /movies/src/main/java/org/neo4j/cineasts/repository line 10 Java Problem
    Bound mismatch: The type User is not a valid substitute for the bounded parameter <E extends NodeBacked> of the type EntityPath<S,E> FriendsMovieRecommendations.java /movies/src/main/java/org/neo4j/cineasts/service line 58 Java Problem
    Bound mismatch: The type User is not a valid substitute for the bounded parameter <E extends NodeBacked> of the type EntityPath<S,E> FriendsMovieRecommendations.java /movies/src/main/java/org/neo4j/cineasts/service line 59 Java Problem
    Bound mismatch: The type User is not a valid substitute for the bounded parameter <S extends NodeBacked> of the type EntityPath<S,E> FriendsMovieRecommendations.java /movies/src/main/java/org/neo4j/cineasts/service line 58 Java Problem
    Bound mismatch: The type User is not a valid substitute for the bounded parameter <S extends NodeBacked> of the type EntityPath<S,E> FriendsMovieRecommendations.java /movies/src/main/java/org/neo4j/cineasts/service line 59 Java Problem
    Bound mismatch: The type User is not a valid substitute for the bounded parameter <T extends GraphBacked<?>> of the type GraphRepository<T> UserRepository.java /movies/src/main/java/org/neo4j/cineasts/repository line 10 Java Problem
    The method findAllPathsByTraversal(TraversalDescription) is undefined for the type User FriendsMovieRecommendations.java /movies/src/main/java/org/neo4j/cineasts/service line 58 Java Problem
    The method getNodeId() is undefined for the type Movie MovieRecommendations.java /movies/src/main/java/org/neo4j/cineasts/service line 46 Java Problem
    The method getRelationshipTo(User, Class<Rating>, String) is undefined for the type Movie MovieController.java /movies/src/main/java/org/neo4j/cineasts/controller line 63 Java Problem
    The method persist() is undefined for the type Movie DomainTest.java /movies/src/test/java/org/neo4j/cineasts/domain line 40 Java Problem
    The method persist() is undefined for the type Movie DomainTest.java /movies/src/test/java/org/neo4j/cineasts/domain line 54 Java Problem
    The method persist() is undefined for the type Movie DomainTest.java /movies/src/test/java/org/neo4j/cineasts/domain line 64 Java Problem
    The method persist() is undefined for the type Movie MovieDbImportService.java /movies/src/main/java/org/neo4j/cineasts/movieimport line 67 Java Problem
    The method persist() is undefined for the type Movie MoviesRepositoryTest.java /movies/src/test/java/org/neo4j/cineasts/service line 31 Java Problem
    The method persist() is undefined for the type Movie MoviesRepositoryTest.java /movies/src/test/java/org/neo4j/cineasts/service line 39 Java Problem
    The method persist() is undefined for the type Movie MoviesRepositoryTest.java /movies/src/test/java/org/neo4j/cineasts/service line 40 Java Problem
    The method persist() is undefined for the type Movie MoviesRepositoryTest.java /movies/src/test/java/org/neo4j/cineasts/service line 41 Java Problem
    The method persist() is undefined for the type Movie MoviesRepositoryTest.java /movies/src/test/java/org/neo4j/cineasts/service line 49 Java Problem
    The method persist() is undefined for the type Movie MoviesRepositoryTest.java /movies/src/test/java/org/neo4j/cineasts/service line 50 Java Problem
    The method persist() is undefined for the type Movie MoviesRepositoryTest.java /movies/src/test/java/org/neo4j/cineasts/service line 51 Java Problem
    The method persist() is undefined for the type Person DomainTest.java /movies/src/test/java/org/neo4j/cineasts/domain line 39 Java Problem
    The method persist() is undefined for the type Person MovieDbImportService.java /movies/src/main/java/org/neo4j/cineasts/movieimport line 117 Java Problem
    The method persist() is undefined for the type User DatabasePopulator.java /movies/src/main/java/org/neo4j/cineasts/service line 36 Java Problem
    The method persist() is undefined for the type User DatabasePopulator.java /movies/src/main/java/org/neo4j/cineasts/service line 37 Java Problem
    The method persist() is undefined for the type User DomainTest.java /movies/src/test/java/org/neo4j/cineasts/domain line 65 Java Problem
    The method persist() is undefined for the type User DomainTest.java /movies/src/test/java/org/neo4j/cineasts/domain line 78 Java Problem
    The method relateTo(Movie, Class<Rating>, String) is undefined for the type User User.java /movies/src/main/java/org/neo4j/cineasts/domain line 56 Java Problem
    The method relateTo(Movie, Class<Role>, String) is undefined for the type Person Person.java /movies/src/main/java/org/neo4j/cineasts/domain line 119 Java Problem
    Type mismatch: cannot convert from Class<Movie> to Class<? extends NodeBacked> Person.java /movies/src/main/java/org/neo4j/cineasts/domain line 100 Java Problem
    Type mismatch: cannot convert from Class<Movie> to Class<? extends NodeBacked> User.java /movies/src/main/java/org/neo4j/cineasts/domain line 44 Java Problem
    Type mismatch: cannot convert from Class<Person> to Class<? extends NodeBacked> Movie.java /movies/src/main/java/org/neo4j/cineasts/domain line 31 Java Problem
    Type mismatch: cannot convert from Class<Rating> to Class<? extends RelationshipBacked> Movie.java /movies/src/main/java/org/neo4j/cineasts/domain line 37 Java Problem
    Type mismatch: cannot convert from Class<Rating> to Class<? extends RelationshipBacked> User.java /movies/src/main/java/org/neo4j/cineasts/domain line 41 Java Problem
    Type mismatch: cannot convert from Class<Role> to Class<? extends RelationshipBacked> Movie.java /movies/src/main/java/org/neo4j/cineasts/domain line 34 Java Problem
    Type mismatch: cannot convert from Class<Role> to Class<? extends RelationshipBacked> Person.java /movies/src/main/java/org/neo4j/cineasts/domain line 111 Java Problem
    Type mismatch: cannot convert from Class<User> to Class<? extends NodeBacked> User.java /movies/src/main/java/org/neo4j/cineasts/domain line 48 Java Problem

  • #2
    I was missing the step of activating maven dependency management.

    Roo does spoil you :-)

    Thanks for validating the issue was in my eclipse setup. There was no code issues.

    Michael

    Comment

    Working...
    X