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

GitHub | kppgs | 2 weeks ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    LinkageError with Lombok, Eclipse and JasperReports Maven Plugin

    GitHub | 12 months 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 | 3 months ago | Dr Dave
    org.apache.maven.plugin.MojoExecutionException: Mark invalid
  3. 0

    GitHub comment 15#273938692

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

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 2#141257828

    GitHub | 1 year ago | jakub-bochenski
    org.apache.maven.plugin.MojoExecutionException: Artifact has not been packaged yet. When used on reactor artifact, unpack should be executed after packaging: see MDEP-98.
  6. 0

    "unpack" fails due to NoSuchElementException

    GitHub | 2 years ago | cluick
    org.apache.maven.plugin.PluginExecutionException: Execution copy-basedata of goal org.apache.maven.plugins:maven-dependency-plugin:2.8:unpack failed: Unable to load the mojo 'unpack' (or one of its required components) from the plugin 'org.apache.maven.plugins:maven-dependency-plugin:2.8'

    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