【发布时间】:2011-07-27 16:59:59
【问题描述】:
我正在尝试按照教程 Getting Started with Spring Roo 学习 Spring Roo。
但是,当创建 AspectJ 文件时,Eclipse 现在抱怨编译错误。
我得到这些错误的唯一命令是:
mkdir wedding
cd wedding
roo
project --topLevelPackage com.wedding
import the Maven project into Eclipse
persistence setup --provider HIBERNATE --database HYPERSONIC_PERSISTENT
entity --class ~.domain.Rsvp
现在我有一个错误列表:
declare cannot be resolved to a type
entityManager cannot be resolved or is not a field
id cannot be resolved or is not a field
The method entityManager() is undefined for the type Rsvp_Roo_Entity
version cannot be resolved or is not a field
有人也遇到过这个问题并且知道如何解决吗?
【问题讨论】:
标签: java eclipse spring-roo