liferay7中的建筑服务问题?

时间:2016-11-14 11:40:37

标签: liferay liferay-7

我在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)如上所述弹出错误。 请提前帮助..暂时..

1 个答案:

答案 0 :(得分:0)

我想:

  • select conrelid::regclass, get_col_names(conrelid, conkey) col_names, get_col_types(conrelid, conkey) col_types, conname from pg_constraint where contype ='f'; conrelid | col_names | col_types | conname ----------+-----------+-----------+------------------------ products | image_id | int4 | products_image_id_fkey (1 row) 由服务构建器生成并放置在com.example.exception模块中。
  • 您只部署了abhishek-api模块

尝试部署abhishek-service模块。

相关问题