Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Panel

Quick Links to:

Table of Contents
minLevel3
Panel

Whenever building with Maven in Eclipse on the MAC, I get

the following error:

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.

  1. Open terminal.
  2. Type: Path/To/Eclipse/eclipse –data /Path/To/Workspace/ (filling in the appropriate paths)

...