Unsupported major.minor version 52.0
2016-11-15 16:10
218 查看
在运行mvn test后报如下错误,请查看本地的jdk版本,需要在1.7(versiion 51) / 1.8(version 52.)
[ERROR] Failed to execute goal io.gatling:gatling-maven-plugin:2.2.0:execute (default) on project XXXX: Execution default of goal io.gatling:gatling-maven-plugin:2.2.0:execute failed: Unable to load the mojo 'execute' in the plugin 'io.gatling:gatling-maven-plugin:2.2.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: io/gatling/mojo/GatlingMojo : Unsupported major.minor version 52.0
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>io.gatling:gatling-maven-plugin:2.2.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/root/.m2/repository/io/gatling/gatling-maven-plugin/2.2.0/gatling-maven-plugin-2.2.0.jar
[ERROR] urls[1] = file:/root/.m2/repository/io/gatling/gatling-compiler/2.2.0/gatling-compiler-2.2.0.jar
[ERROR] urls[2] = file:/root/.m2/repository/org/scala-lang/scala-library/2.10.6/scala-library-2.10.6.jar
[ERROR] urls[3] = file:/root/.m2/repository/org/scala-lang/scala-reflect/2.10.6/scala-reflect-2.10.6.jar
[ERROR] urls[4] = file:/root/.m2/repository/com/typesafe/config/1.3.0/config-1.3.0.jar
[ERROR] urls[5] = file:/root/.m2/repository/ch/qos/logback/logback-classic/1.1.7/logback-classic-1.1.7.jar
[ERROR] urls[6] = file:/root/.m2/repository/ch/qos/logback/logback-core/1.1.7/logback-core-1.1.7.jar
[ERROR] urls[7] = file:/root/.m2/repository/com/typesafe/zinc/zinc/0.3.9/zinc-0.3.9.jar
[ERROR] urls[8] = file:/root/.m2/repository/com/typesafe/sbt/incremental-compiler/0.13.9/incremental-compiler-0.13.9.jar
[ERROR] urls[9] = file:/root/.m2/repository/com/typesafe/sbt/sbt-interface/0.13.9/sbt-interface-0.13.9.jar
[ERROR] urls[10] = file:/root/.m2/repository/com/typesafe/sbt/compiler-interface/0.13.9/compiler-interface-0.13.9-sources.jar
[ERROR] urls[11] = file:/root/.m2/repository/com/github/scopt/scopt_2.10/3.4.0/scopt_2.10-3.4.0.jar
[ERROR] urls[12] = file:/root/.m2/repository/org/apache/commons/commons-exec/1.2/commons-exec-1.2.jar
[ERROR] urls[13] = file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar
[ERROR] Failed to execute goal io.gatling:gatling-maven-plugin:2.2.0:execute (default) on project XXXX: Execution default of goal io.gatling:gatling-maven-plugin:2.2.0:execute failed: Unable to load the mojo 'execute' in the plugin 'io.gatling:gatling-maven-plugin:2.2.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: io/gatling/mojo/GatlingMojo : Unsupported major.minor version 52.0
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>io.gatling:gatling-maven-plugin:2.2.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/root/.m2/repository/io/gatling/gatling-maven-plugin/2.2.0/gatling-maven-plugin-2.2.0.jar
[ERROR] urls[1] = file:/root/.m2/repository/io/gatling/gatling-compiler/2.2.0/gatling-compiler-2.2.0.jar
[ERROR] urls[2] = file:/root/.m2/repository/org/scala-lang/scala-library/2.10.6/scala-library-2.10.6.jar
[ERROR] urls[3] = file:/root/.m2/repository/org/scala-lang/scala-reflect/2.10.6/scala-reflect-2.10.6.jar
[ERROR] urls[4] = file:/root/.m2/repository/com/typesafe/config/1.3.0/config-1.3.0.jar
[ERROR] urls[5] = file:/root/.m2/repository/ch/qos/logback/logback-classic/1.1.7/logback-classic-1.1.7.jar
[ERROR] urls[6] = file:/root/.m2/repository/ch/qos/logback/logback-core/1.1.7/logback-core-1.1.7.jar
[ERROR] urls[7] = file:/root/.m2/repository/com/typesafe/zinc/zinc/0.3.9/zinc-0.3.9.jar
[ERROR] urls[8] = file:/root/.m2/repository/com/typesafe/sbt/incremental-compiler/0.13.9/incremental-compiler-0.13.9.jar
[ERROR] urls[9] = file:/root/.m2/repository/com/typesafe/sbt/sbt-interface/0.13.9/sbt-interface-0.13.9.jar
[ERROR] urls[10] = file:/root/.m2/repository/com/typesafe/sbt/compiler-interface/0.13.9/compiler-interface-0.13.9-sources.jar
[ERROR] urls[11] = file:/root/.m2/repository/com/github/scopt/scopt_2.10/3.4.0/scopt_2.10-3.4.0.jar
[ERROR] urls[12] = file:/root/.m2/repository/org/apache/commons/commons-exec/1.2/commons-exec-1.2.jar
[ERROR] urls[13] = file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar
相关文章推荐
- Unsupported major.minor version 52.0
- Unsupported major.minor version 52.0
- Stanford Parser demo错误:Unsupported major.minor version 52.0 error
- com/android/dx/command/dexer/Main : Unsupported major.minor version 52.0
- Android studio编译错误三:Unsupported major.minor version 52.0
- android studio在真机上运行程序出现Unsupported major.minor version 52.0错误
- Android Package Builder error : Unsupported Major Minor version 52.0
- Android studio 出现 Unsupported major.minor version 52.0
- Error:(1, 0) Cause: com/android/build/gradle/LibraryPlugin : Unsupported major.minor version 52.0
- com/android/dx/command/dexer/Main : Unsupported major.minor version 52.0
- Eclipse运行项目发生Unsupported major.minor version 52.0错误
- 解决Android Studio报错:DefaultAndroidProject : Unsupported major.minor version 52.0
- Unsupported major.minor version 52.0
- Unsupported major.minor version 52.0
- Unsupported major.minor version 52.0
- java.lang.UnsupportedClassVersionError: org/json/JSONObject : Unsupported major.minor version 52.0
- com/intellij/junit5/JUnit5IdeaTestRunner : Unsupported major.minor version 52.0
- 使用sonarqube异常 — Unsupported major.minor version 52.0
- SEVERE: Error listenerStart Unsupported major.minor version 52.0
- Unsupported major.minor version 52.0