maven 编译时报错

maven编译时报错:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:
javac: 无效的标志: -s

经检查原来是JAVA_HOME配置错误,应该指向1.6

你可能感兴趣的:(java,maven)