Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Build failures may occur if multiple Java versions are installed, and Maven is pointed to the incorrect version i.e. if there is a mismatch in Java versions reported by commands  mvn -V and java -version.

Infotip

The best way to prevent this version mismatch is to install Maven before Java 8.

...