Announcement Announcement Module
No announcement yet.
Repository error with Roo and Neo4j Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Repository error with Roo and Neo4j

    I am relatively new to spring, roo and Neo4j and I'm having some problems.

    Basically I'm trying to create a Repository for a model, my model is as follows:

    public class Merchant {   
        private String username;
        private String name;
        private String address_number;
        private String address_street;
    And here is my repository code:
    public interface MerchantRepository extends GraphRepository<Merchant>{}
    Unfortunately the generic type definition is throwing the following error in my IDE:
    Type argument <package>.Merchant is not within the bounds of type-variable T
    Obviously <package> is the full package name.

    It would be great if someone could shed some light on what is causing this issue, I have been looking over the documentation and examples on github and can't see any significant differences so I'm kind of stumped.

    Cheers, Tim.