Error while running build.cmd all dist command
Maximo Anywhere build getting failed
After successful installation of Maximo Anywhere, you need to run 3 build commands in the following sequence:
1) From MaximoAnywhere\platform\mobile run
build all-gen
build all-gen
2) From MaximoAnywhere\platform\mobile run
build all-dist
build all-dist
Deploy the worklight.war file created under your
MaximoAnywhere\platform\mobile\target\dist folder to your Worklight Server in
WebSphere
build all-deploy
But, while running build all-dust command you may get few errors as follows:
1) java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found
Cause: Your JAVA_HOME is set to JRE or SDK path
Solution: Set JAVA_HOME to JDK folder. This should resolve the issue. You will have to restart the physical machine after applying these changes.
P.S. I appended the JDK folder path in the existing JAVA_HOME path which was having SDK path, but this didn't work for me, so I removed the earlier SDK path and kept only JDK path, then it worked.
After machine gets re-booted, try running build.cmd all-dist it will run successfully.
No comments:
Post a Comment