org.apache.maven.BuildFailureException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Build failed in Jenkins: rat-jdk-1.5-maven-2 #77
    via by Apache Jenkins Server,
  • Problem building swagger-codegen-2.1.5
    via by Gintare Ragaisiene,
  • Error building from source
    via GitHub by yeradis
    ,
  • How do I deploy a GWT-Maven-Project?
    via Stack Overflow by Frauke
    ,
  • Spring MVC 4.0.0.5, Maven, and Quartz
    via Stack Overflow by user2217874
    ,
    • org.apache.maven.BuildFailureException: Compilation failure <https://builds.apache.org/job/rat-jdk-1.5-maven-2/ws/apache-rat-core/src/main/java/org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporter.java>:[24,-1] cannot access org.apache.commons.lang3.time.DateFormatUtils bad class file: /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar(org/apache/commons/lang3/time/DateFormatUtils.class) class file has wrong version 50.0, should be 49.0 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at hudson.maven.agent.Main.launch(Main.java:205) at hudson.maven.MavenBuilder.call(MavenBuilder.java:154) at hudson.maven.Maven2Builder.call(Maven2Builder.java:79) at hudson.maven.Maven2Builder.call(Maven2Builder.java:55) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure <https://builds.apache.org/job/rat-jdk-1.5-maven-2/ws/apache-rat-core/src/main/java/org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporter.java>:[24,-1] cannot access org.apache.commons.lang3.time.DateFormatUtils bad class file: /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar(org/apache/commons/lang3/time/DateFormatUtils.class) class file has wrong version 50.0, should be 49.0 at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:858) at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 27 more

    Users with the same issue

    Unknown visitor1 times, last one,
    chenjunjun
    1 times, last one,
    tvrmsmith
    1 times, last one,
    Cafecanudo
    4 times, last one,
    Unknown visitor1 times, last one,
    20 more bugmates