我正在尝试使用gwt-maven-plugin
. 我多次遇到以下问题:
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) 端。有什么办法让它工作吗?