【发布时间】:2016-11-22 04:41:18
【问题描述】:
我在 Liferay 7 中部署我的 servicebuilder 项目时出错。错误如下:-
Problem with deploying bundle: Could not resolve module: abhishek-service [497]
Unresolved requirement: Import-Package: com.example.exception; version="[1.0.0,2.0.0)"
我不明白为什么会出现这个问题?我遵循的步骤如下: - 1)通过名为“abhishek”的liferay ide创建了一个服务构建器。 2) 保留 abhishek-services 文件夹中 service.xml 中的默认命名空间和实体。 3) 通过 Gradle 窗口中的 BuildService 选项构建服务。 4) 将 abhishek-service 部署到服务器上。 5) 如上所述弹出错误。 请帮助..thanx提前..
【问题讨论】:
-
通过 ant 构建服务时是否弹出相同的错误?代码 497 运气好
-
你能分享你的 service.xml 吗? OSGi 找不到这些包
com.example.exception,我们现在需要弄清楚为什么......