Whenever building with Maven in Eclipse on the MAC, I get an "Exception while executing SCM command".- ERROR Exception while executing SCM command. Error while executing command. Error setting up environmental variables: Cannot run program "env": error=2, No such file or directory
ANSWER: When Eclipse is launched from a shortcut or icon, it may not pick up the correct environment variables including the PATH so it does not look for env in the correct location (/usr/bin)
Work around: Launch Eclipse from the command line. - Open terminal.
- Type: Path/To/Eclipse/eclipse –data /Path/To/Workspace/ (filling in the appropriate paths)
|