Unsupported major.minor version 52.0

在运行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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值