MFP 7.0 Java适配器生成错误

时间:2015-06-23 22:03:13

标签: java ibm-mobilefirst mobilefirst-adapters mobilefirst-server mobilefirst-cli

我正在使用基于MFP 7.0 Java的适配器,当我尝试通过CLI和Eclipse构建时,我收到以下错误:

Error: 
BUILD FAILED
/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml:133: The following error occurred while executing this line:
/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml:159: /wlp/dev does not exist.

我可以很好地构建基于JavaScript的适配器,这只是在尝试构建Java适配器时。

编辑:

以下是我在Eclipse中使用MFP Studio插件时遇到的构建错误:

The installation directory is not valid. Check that the path points to a Liberty profile runtime environment (e.g. <path>/wlp).

Here's a gist用于JavaSampleAdapterResource.java实施。

1 个答案:

答案 0 :(得分:0)

我能够修复&#34;这个问题通过重新安装CLI和eclipse插件。