Sunday, May 24, 2015

maven version conflict


>PROBLEM
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
Detected Maven Version: 3.0.4 is not in the allowed range 3.1.1.


>SOLUTION
Using an old version incompatible with the version required.
  M2_HOME=D:\portables_d\apache-maven-3.0.4

Switch the M2_HOME envvar to the new maven version:
  M2_HOME=D:\portables_d\apache-maven-3.1.1





No comments:

Post a Comment

eclipse: java: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" or Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder

  >PROBLEM Using Eclipse, you try to run a simple logging test using "org.slf4j.Logger" like the sample below: package Test; im...