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

creadur-dev | Apache Jenkins Server | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Build failed in Jenkins: rat-jdk-1.5-maven-2 #77

    creadur-dev | 3 years ago | Apache Jenkins Server
    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
  2. 0

    Problem building swagger-codegen-2.1.5

    Google Groups | 1 year ago | Gintare Ragaisiene
    org.apache.maven.BuildFailureException: Compilation failure No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
  3. 0

    maven install error use 1.6.4-SNAPSHOT

    GitHub | 3 years ago | xianlaioy
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project netty-socketio: Compilation failure
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error building from source

    GitHub | 3 years ago | yeradis
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project querydsl-core: Compilation failure . . ./querydsl/querydsl-core/src/main/java/com/mysema/query/types/expr/CaseBuilder.java:[95,33] incompatible types: com.mysema.query.types.Expression cannot be converted to Q
  6. 0

    ODB 1.7 is not compatible with JDK 8

    GitHub | 3 years ago | rohitdev
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project SupportAssistPersistenceManager: Compilation failure /E:/Eclipse_WS/StandAlone/1/SupportAssistPersistenceManager/src/main/java/com/dell/services/supportassist/persistencemanager/dao/DeviceDAO.java:[135,32] reference to delete is ambiguous both method delete(com.orientechnologies.orient.core.record.ORecordInternal<?>) in com.orientechnologies.orient.object.db.ODatabasePojoAbstract and method delete(com.orientechnologies.orient.core.id.ORID) in com.orientechnologies.orient.object.db.OObjectDatabaseTx match
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Apache Maven Compiler Plugin
    CompilerMojo.execute
    1. org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:858)
    2. org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
    2 frames
  3. Maven Plugin
    DefaultPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    1 frame
  4. Hudson M2
    PluginManagerInterceptor.executeMojo
    1. hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182)
    1 frame
  5. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
    3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
    4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
    6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    7. org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    9 frames
  6. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  8. Plexus
    Launcher.launch
    1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    2 frames
  9. Hudson M2
    Main.launch
    1. hudson.maven.agent.Main.launch(Main.java:205)
    1 frame
  10. Hudson Maven Embedder
    Maven2Builder.call
    1. hudson.maven.MavenBuilder.call(MavenBuilder.java:154)
    2. hudson.maven.Maven2Builder.call(Maven2Builder.java:79)
    3. hudson.maven.Maven2Builder.call(Maven2Builder.java:55)
    3 frames
  11. Hudson :: Remoting Layer
    InterceptingExecutorService$1.call
    1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    3. hudson.remoting.Request$2.run(Request.java:328)
    4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
    4 frames
  12. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames