在 spring Roo > 1.1.5 中找不到 RooEntity 注释
cannot find RooEntity annotation in spring Roo > 1.1.5
我们正在使用 spring roo 1.1.5,我们想升级 spring roo 的版本。
我们有一些 class 用 RooEntity 注释的元素。例如,
import org.springframework.roo.addon.entity.RooEntity;
@RooEntity
public class X {
...
}
但是,我在更高版本的 spring roo 中找不到这个 class。我的maven依赖如下:
<dependency>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.annotations</artifactId>
<version>${roo.version}</version>
<scope>provided</scope>
</dependency>
如果我们使用 RooEntity 注释,我如何将 spring roo 升级到当前版本 1.3。1.RELEASE。
谢谢!
RooEntity 已被 RooJpaActiveRecord 取代。看看http://www.kevinhooke.com/2013/02/06/spring-roo-rooentity-from-1-1-x-replaced-in-1-2-x/
我们正在使用 spring roo 1.1.5,我们想升级 spring roo 的版本。
我们有一些 class 用 RooEntity 注释的元素。例如,
import org.springframework.roo.addon.entity.RooEntity;
@RooEntity
public class X {
...
}
但是,我在更高版本的 spring roo 中找不到这个 class。我的maven依赖如下:
<dependency>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.annotations</artifactId>
<version>${roo.version}</version>
<scope>provided</scope>
</dependency>
如果我们使用 RooEntity 注释,我如何将 spring roo 升级到当前版本 1.3。1.RELEASE。
谢谢!
RooEntity 已被 RooJpaActiveRecord 取代。看看http://www.kevinhooke.com/2013/02/06/spring-roo-rooentity-from-1-1-x-replaced-in-1-2-x/