Any idea what's wrong?

---------- Forwarded message ----------
From: Apache Jenkins Server <jenk...@builds.apache.org>
Date: 2017-09-06 13:27 GMT+02:00
Subject: Build failed in Jenkins: Struts-support-2-3-JDK6 #16
To: d...@struts.apache.org


See <https://builds.apache.org/job/Struts-support-2-3-JDK6/16/display/redirect>

------------------------------------------

main:
     [copy] Copying 4 files to
<https://builds.apache.org/job/Struts-support-2-3-JDK6/ws/apps/blank/target/struts2-blank/WEB-INF/src/java>
     [copy] Copying 9 files to
<https://builds.apache.org/job/Struts-support-2-3-JDK6/ws/apps/blank/target/struts2-blank/WEB-INF/src/java>
[INFO] Executed tasks
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process
(process-resource-bundles) @ struts2-blank ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @
struts2-blank ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @
struts2-blank ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to
<https://builds.apache.org/job/Struts-support-2-3-JDK6/ws/apps/blank/target/classes>
An exception has occurred in the compiler (1.6.0_45). Please file a
bug at the Java Developer Connection
(http://java.sun.com/webapps/bugreport)  after checking the Bug Parade
for duplicates. Include your program and the following diagnostic in
your report.  Thank you.
java.lang.LinkageError: loader constraint violation: when resolving
method 
"com.sun.tools.javadoc.DocCommentScanner$Factory.preRegister(Lcom/sun/tools/javac/util/Context;)V"
the class loader (instance of java/net/FactoryURLClassLoader) of the
current class, com/sun/tools/javac/main/JavaCompiler, and the class
loader (instance of sun/misc/Launcher$AppClassLoader) for resolved
class, com/sun/tools/javadoc/DocCommentScanner$Factory, have different
Class objects for the type com/sun/tools/javac/util/Context used in
the signature
        at 
com.sun.tools.javac.main.JavaCompiler.initProcessAnnotations(JavaCompiler.java:883)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:724)
        at com.sun.tools.javac.main.Main.compile(Main.java:353)
        at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:113)
        at 
org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:125)
        at 
org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:171)
        at 
org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:886)
        at 
org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] An unknown compilation problem occurred
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Struts 2 Bill of Materials ......................... SUCCESS [  5.717 s]
[INFO] Struts 2 ........................................... SUCCESS [  9.790 s]
[INFO] XWork: Core ........................................ SUCCESS [01:08 min]
[INFO] Struts 2 Core ...................................... SUCCESS [01:58 min]
[INFO] Struts Plugins ..................................... SUCCESS [  7.339 s]
[INFO] Struts 2 Spring Plugin ............................. SUCCESS [ 17.088 s]
[INFO] Struts 2 Convention Plugin ......................... SUCCESS [ 21.879 s]
[INFO] Struts 2 JUnit Plugin .............................. SUCCESS [ 25.108 s]
[INFO] Struts 2 Webapps ................................... SUCCESS [  4.557 s]
[INFO] Struts 2 Blank Webapp .............................. FAILURE [  2.334 s]
[INFO] Struts 2 JBoss Blank Webapp ........................ SKIPPED
[INFO] Struts 2 Mail Reader Webapp ........................ SKIPPED
[INFO] Struts 2 Portlet Plugin ............................ SKIPPED
[INFO] Struts 2 DWR Plugin ................................ SKIPPED
[INFO] Struts 2 Tiles Plugin .............................. SKIPPED
[INFO] Struts 2 Portlet Tiles Plugin ...................... SKIPPED
[INFO] Struts 2 Portlet Webapp ............................ SKIPPED
[INFO] Struts 2 Struts 1 Plugin ........................... SKIPPED
[INFO] Struts 2 Dojo Plugin ............................... SKIPPED
[INFO] Struts 2 JSF Plugin ................................ SKIPPED
[INFO] Struts 2 Configuration Browser Plugin .............. SKIPPED
[INFO] Struts 2 Sitemesh Plugin ........................... SKIPPED
[INFO] Struts 2 JSON Plugin ............................... SKIPPED
[INFO] Struts 2 Showcase Webapp ........................... SKIPPED
[INFO] Struts 2 REST Plugin ............................... SKIPPED
[INFO] Struts 2 Rest Showcase Webapp ...................... SKIPPED
[INFO] Struts 2 CDI Plugin ................................ SKIPPED
[INFO] Struts 2 Codebehind Plugin ......................... SKIPPED
[INFO] Struts 2 Embedded JSP Plugin ....................... SKIPPED
[INFO] Struts 2 GXP Plugin ................................ SKIPPED
[INFO] Struts 2 Jasper Reports Plugin ..................... SKIPPED
[INFO] Struts 2 Java 8 support plugin ..................... SKIPPED
[INFO] Struts 2 Java Templates Plugin ..................... SKIPPED
[INFO] Struts 2 JFreeChart Plugin ......................... SKIPPED
[INFO] Struts 2 OSGi Plugin ............................... SKIPPED
[INFO] Struts 2 OVal Plugin ............................... SKIPPED
[INFO] Struts 2 Pell Multipart Plugin ..................... SKIPPED
[INFO] Struts 2 Plexus Plugin ............................. SKIPPED
[INFO] Struts 2 Sitegraph Plugin .......................... SKIPPED
[INFO] Struts 2 TestNG Plugin ............................. SKIPPED
[INFO] Struts 2 Tiles 3 Plugin ............................ SKIPPED
[INFO] Struts OSGi Bundles ................................ SKIPPED
[INFO] Struts 2 OSGi Admin Bundle ......................... SKIPPED
[INFO] Struts 2 OSGi Demo Bundle .......................... SKIPPED
[INFO] Struts 2 Maven Archetypes .......................... SKIPPED
[INFO] Struts 2 Archetypes - Angular JS ................... SKIPPED
[INFO] Struts 2 Archetypes - Blank ........................ SKIPPED
[INFO] Struts 2 Archetypes - Blank Convention ............. SKIPPED
[INFO] Struts 2 Archetypes - Database Portlet ............. SKIPPED
[INFO] Struts 2 Archetypes - Plugin ....................... SKIPPED
[INFO] Struts 2 Archetypes - Portlet ...................... SKIPPED
[INFO] Struts 2 Archetypes - Starter ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:45 min
[INFO] Finished at: 2017-09-06T11:27:30+00:00
[INFO] Final Memory: 107M/4312M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
(default-compile) on project struts2-blank: Compilation failure
[ERROR] An unknown compilation problem occurred
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :struts2-blank
Build step 'Execute shell' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Setting MAVEN_3_2_5_HOME=/home/jenkins/tools/maven/apache-maven-3.2.5

Reply via email to