GWT - 配置吉利德问题
我按照本教程进行操作,并决定使用Gilead 以避免编写 DTO 样板。
但还没有成功。我按照教程建议做了:
在服务器端扩展我的 POJO
net.sf.gilead.pojo.java5.LightEntity
public class Attachment extends LightEntity Implements Serializable { ... }
使我的服务器端服务实现扩展
net.sf.gilead.gwt.PersistentRemoteService
public class LoginServiceImpl extends PersistentRemoteService Implements LoginService { ...}
完全按照教程配置 beanManager。
当我尝试使用扩展吉利德 LightEntity 的服务器端类时,我收到错误,如果没有吉利德,只有受限的服务器代码。
以下是我包含在构建路径中的 JAR:
I followed this tutorial and decided to use Gilead to avoid writing DTO boilerplate.
But with no success yet. I did as tutorial advices:
Made my POJO on server side extend
net.sf.gilead.pojo.java5.LightEntity
public class Attachment extends LightEntity implements Serializable { ... }
Made my server-side service implementation extend
net.sf.gilead.gwt.PersistentRemoteService
public class LoginServiceImpl extends PersistentRemoteService implements LoginService { ...}
Configured beanManager exactly as in tutorial.
When I tried to use server-side class, that extends Gilead's LightEntity, I get error as If there were no Gilead, just restricted server code.
Here are JARs I included to my build path:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将您的 MusicStoreServiceImpl() 更改为
}
change your MusicStoreServiceImpl() to
}