我遵循本教程并决定使用Gilead来避免编写 DTO 样板。
但是还没有成功。我按照教程建议做了:
使我在服务器端的 POJO 扩展
net.sf.gilead.pojo.java5.LightEntity公共类 Attachment 扩展 LightEntity 实现 Serializable { ... }
扩展了我的服务器端服务实现
net.sf.gilead.gwt.PersistentRemoteService公共类 LoginServiceImpl 扩展 PersistentRemoteService 实现 LoginService { ...}
完全按照教程中的方式配置 beanManager。
当我尝试使用扩展 Gilead 的 LightEntity 的服务器端类时,我收到错误,好像没有 Gilead,只是限制了服务器代码。
以下是我包含在构建路径中的 JAR:
