Results 1 to 2 of 2

Thread: import org.springframework.roo.addon.entity.RooEntity is unresolved

  1. #1
    Join Date
    Jan 2013
    Posts
    13

    Default import org.springframework.roo.addon.entity.RooEntity is unresolved

    Trying to get the pet clinic example to work.

    All my model entities are failing to compile. All of them seem to have an issue with this import org.springframework.roo.addon.entity.RooEntity

    I am using STS with Roo 1.2.3. The example I am trying to work with is located here - https://github.com/heroku/devcenter-...-mvc-hibernate

    In roo I also installed the the entity add-on.It did not really add anything to my maven pom file. What am I missing here?


    roo> addon search entity
    1 found, sorted by rank; T = trusted developer; R = Roo 1.2 compatible
    ID T R DESCRIPTION -------------------------------------------------------------
    01 Y Y 1.2.0.M1 Support for the creation and management of domain entities.
    --------------------------------------------------------------------------------
    [HINT] use 'addon info id --searchResultId ..' to see details about a search result
    [HINT] use 'addon install id --searchResultId ..' to install a specific search result, or
    [HINT] use 'addon install bundle --bundleSymbolicName TAB' to install a specific add-on version
    roo> addon install id --searchResultId 01
    roo> Target resource(s):
    -------------------
    Spring Roo - Addon - Entity (1.2.0.M1)

    Required resource(s):
    ---------------------
    Spring Roo - Support (1.2.0.RELEASE)

    Deploying...done.

  2. #2
    Join Date
    Dec 2005
    Posts
    929

    Default

    That's an old example and not compatible with Roo 1.2.x

    @RooEntity has been replaced with @RooJpaEntity and there is no need to install any add-ons for this.
    Alan
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •