【发布时间】:2012-08-31 02:41:38
【问题描述】:
我正在尝试使用 gwt-maven-plugin 清理安装 GWT 项目。我多次遇到以下问题:
Finding entry point classes
[ERROR] Errors in '.../core/impl/MyClass.java'
[ERROR] Line 23: The import org.codehaus.jackson.annotate.JsonIgnore cannot be resolved
[ERROR] Line 24: The import org.hibernate.envers cannot be resolved
[ERROR] Line 27: Audited cannot be resolved to a type
[ERROR] Line 102: JsonIgnore cannot be resolved to a type
[ERROR] Line 129: JsonIgnore cannot be resolved to a type
问题仅在于注释。
核心项目是定义我的数据模型的项目。它用于服务器端和客户端 (gwt) 端。有什么办法让它工作吗?
【问题讨论】:
标签: java gwt maven import annotations