我必须在Liferay中设计一个服务构建器来检索外观和感觉的数据。然后必须在部署look and feel之前部署此服务。我不知道如何部署此服务。实际上,我得到了一个“没有定义bean named...is”类型的异常。
先谢谢你,
诚挚的问候。
发布于 2013-05-29 03:13:26
您可以在WEB-INF/liferay plugin-package.properties中声明依赖项。最简单的方法是在其他插件中查找它,或者使用Liferay IDE或Developer Studio编辑文件,因为它带有一个基于表单的编辑器,可以识别文件内容。
这种依赖关系将确保包含您的服务的插件将在依赖它的所有其他插件之前部署。依赖插件只有在它们的依赖关系得到满足后才会被部署。
来自示例文件here
#
# Specify other plugins that depend on deployment of this plugin. Some
# plugins require this in order to rely on services and features provided by
# other plugins.
#
#required-deployment-contexts=
#required-deployment-contexts=\
# chat-portlet,\
# flash-portlet,\
# sample-service-builder-portlethttps://stackoverflow.com/questions/16799514
复制相似问题