Liferay 6.0.5 serviceBuider 可以工作吗?
我正在尝试开发一个 portlet,它具有使用 ServiceBuider 完成的域类和数据库映射。类和大量配置文件生成得很好,但部署失败(目前没有可用)。
ServiceBuilder 应该在 liferay sdk 6.0.5 中为普通 Liferay portlet 工作,还是仅可用于 ext-plugins/hook-plugins/liferay Internals?我是否缺少其他一些未记录的限制/依赖项?
I am trying to develop a portlet that has a domain class and database mapping for it done with ServiceBuider. Classes and numerous config files get generated fine, but deploying fails to exception (don't have them available right now).
Is ServiceBuilder supposed to work in liferay sdk 6.0.5 for ordinary Liferay portlets, or is it usable only for ext-plugins/hook-plugins/ liferay Internals? Am I missing some other undocumented restrictions/dependencies.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,ServiceBuilder 应该通过 portlet 插件工作(确实如此)。它在 ext 插件中已被弃用(但有效)。请参阅插件 ( svn-用户名:“guest”,密码为空)
要找到问题的解决方案,获得您执行的确切步骤以及确切的异常确实会有所帮助。
yup, ServiceBuilder is supposed to work from portlet plugins (and it definitely does). It's deprecated (but works) in ext plugin. See the KnowledgeBase Portlet from the plugins (svn-username: "guest", password is empty)
To find a solution for your problems it would really help to get the exact steps you do as well as the exact exception.