I'm using MFP 7.0 Java based adapters and when I try to build, both through the CLI and Eclipse, I get the following error:
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.
I can build JavaScript based adapters just fine, this is only when trying to build Java adapters.
EDIT:
Here is the build error I get when using the MFP Studio plugin in Eclipse:
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 for our JavaSampleAdapterResource.java
implementation.
I was able to "fix" this issue by reinstalling both the CLI and eclipse plugin.