org.apache.maven.plugin.MojoExecutionException: Error while compiling Jasper reports

GitHub | kppgs | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    LinkageError with Lombok, Eclipse and JasperReports Maven Plugin

    GitHub | 1 year ago | mkielar
    org.apache.maven.plugin.MojoExecutionException: Error while compiling Jasper reports
  2. 0

    Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.7:resources

    Stack Overflow | 6 months ago | Dr Dave
    org.apache.maven.plugin.MojoExecutionException: Mark invalid
  3. 0

    GitHub comment 15#273938692

    GitHub | 4 months ago | jiz5163
    org.eclipse.m2e.core.internal.embedder.MavenImpl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    pom.xml file is not configured alright

    Stack Overflow | 1 month ago | Abaya
    org.eclipse.m2e.core.internal.embedder.MavenImpl
  6. 0

    Mojo executions don't work anymore

    GitHub | 4 months ago | pallox
    org.apache.maven.plugin.MojoExecutionException: Could not complete Mojo execution...

    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. java.lang.LinkageError

      loader constraint violation: when resolving method "lombok.launch.PatchFixesHider$Transform.transform_swapped(Lorg/eclipse/jdt/internal/compiler/ast/CompilationUnitDeclaration;Lorg/eclipse/jdt/internal/compiler/parser/Parser;)V" the class loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm) of the current class, org/eclipse/jdt/internal/compiler/parser/Parser, and the class loader (instance of lombok/launch/ShadowClassLoader) for the method's defining class, lombok/launch/PatchFixesHider$Transform, have different Class objects for the type org/eclipse/jdt/internal/compiler/ast/CompilationUnitDeclaration used in the signature

      at org.eclipse.jdt.internal.compiler.parser.Parser.endParse()
    2. JDT Core
      Compiler.compile
      1. org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:8681)
      2. org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9715)
      3. org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9933)
      4. org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9890)
      5. org.eclipse.jdt.internal.compiler.parser.Parser.dietParse(Parser.java:8454)
      6. org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:718)
      7. org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:383)
      8. org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:428)
      8 frames
    3. JasperReports
      JasperCompileManager.compileReportToStream
      1. net.sf.jasperreports.engine.design.JRJdtCompiler.compileUnits(JRJdtCompiler.java:173)
      2. net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:212)
      3. net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:357)
      4. net.sf.jasperreports.engine.JasperCompileManager.compileToStream(JasperCompileManager.java:326)
      5. net.sf.jasperreports.engine.JasperCompileManager.compileToStream(JasperCompileManager.java:309)
      6. net.sf.jasperreports.engine.JasperCompileManager.compileReportToStream(JasperCompileManager.java:587)
      6 frames
    4. com.alexnederlof.jasperreport
      CompileTask.call
      1. com.alexnederlof.jasperreport.CompileTask.call(CompileTask.java:75)
      2. com.alexnederlof.jasperreport.CompileTask.call(CompileTask.java:34)
      2 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      4. java.lang.Thread.run(Unknown Source)
      4 frames