Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When I attempt to run the Tomcat JNDI example from examples/features/sub-modules/tomcat using mvn clean verify I receive this:
[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Artemis Tomcat JNDI Resources Example 2.5.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ artemis-tomcat-jndi-resources-sample --- [INFO] Deleting /home/jbertram/jboss/src/activemq-artemis/examples/features/sub-modules/tomcat/target [INFO] Deleting /home/jbertram/jboss/src/activemq-artemis/examples/features/sub-modules/tomcat (includes = [readme.html], excludes = []) [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-maven) @ artemis-tomcat-jndi-resources-sample --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java) @ artemis-tomcat-jndi-resources-sample --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ artemis-tomcat-jndi-resources-sample --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ artemis-tomcat-jndi-resources-sample --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jbertram/jboss/src/activemq-artemis/examples/features/sub-modules/tomcat/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ artemis-tomcat-jndi-resources-sample --- [WARNING] Error injecting: org.codehaus.plexus.compiler.javac.errorprone.JavacCompilerWithErrorProne java.lang.NoClassDefFoundError: org/codehaus/plexus/compiler/CompilerResult at java.lang.Class.getDeclaredMethods0 (Native Method) at java.lang.Class.privateGetDeclaredMethods (Class.java:2701) at java.lang.Class.getDeclaredMethods (Class.java:1975) at com.google.inject.spi.InjectionPoint.getInjectionPoints (InjectionPoint.java:688) at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields (InjectionPoint.java:380) at com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies (ConstructorBindingImpl.java:164) at com.google.inject.internal.InjectorImpl.getInternalDependencies (InjectorImpl.java:613) at com.google.inject.internal.InjectorImpl.cleanup (InjectorImpl.java:569) at com.google.inject.internal.InjectorImpl.initializeJitBinding (InjectorImpl.java:555) at com.google.inject.internal.InjectorImpl.createJustInTimeBinding (InjectorImpl.java:884) at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive (InjectorImpl.java:805) at com.google.inject.internal.InjectorImpl.getJustInTimeBinding (InjectorImpl.java:282) at com.google.inject.internal.InjectorImpl.getBindingOrThrow (InjectorImpl.java:214) at com.google.inject.internal.InjectorImpl.getProviderOrThrow (InjectorImpl.java:1006) at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1038) at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1001) at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1051) at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48) at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:81) at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:53) at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:65) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:115) at org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision (BeanScheduler.java:176) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:126) at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:68) at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:63) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:45) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call (ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1103) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get (ProviderToInternalFactoryAdapter.java:40) at com.google.inject.internal.SingletonScope$1.get (SingletonScope.java:145) at com.google.inject.internal.InternalFactoryToProviderAdapter.get (InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016) at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1092) at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012) at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81) at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51) at java.util.AbstractMap.get (AbstractMap.java:187) at org.codehaus.plexus.compiler.manager.DefaultCompilerManager.getCompiler (DefaultCompilerManager.java:54) at org.apache.maven.plugin.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:335) at org.apache.maven.plugin.CompilerMojo.execute (CompilerMojo.java:128) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:993) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:345) at org.apache.maven.cli.MavenCli.main (MavenCli.java:191) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) 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) Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.compiler.CompilerResult at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass (SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass (ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:239) at java.lang.Class.getDeclaredMethods0 (Native Method) at java.lang.Class.privateGetDeclaredMethods (Class.java:2701) at java.lang.Class.getDeclaredMethods (Class.java:1975) at com.google.inject.spi.InjectionPoint.getInjectionPoints (InjectionPoint.java:688) at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields (InjectionPoint.java:380) at com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies (ConstructorBindingImpl.java:164) at com.google.inject.internal.InjectorImpl.getInternalDependencies (InjectorImpl.java:613) at com.google.inject.internal.InjectorImpl.cleanup (InjectorImpl.java:569) at com.google.inject.internal.InjectorImpl.initializeJitBinding (InjectorImpl.java:555) at com.google.inject.internal.InjectorImpl.createJustInTimeBinding (InjectorImpl.java:884) at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive (InjectorImpl.java:805) at com.google.inject.internal.InjectorImpl.getJustInTimeBinding (InjectorImpl.java:282) at com.google.inject.internal.InjectorImpl.getBindingOrThrow (InjectorImpl.java:214) at com.google.inject.internal.InjectorImpl.getProviderOrThrow (InjectorImpl.java:1006) at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1038) at com.google.inject.internal.InjectorImpl.getProvider (InjectorImpl.java:1001) at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1051) at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48) at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:81) at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:53) at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:65) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:115) at org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision (BeanScheduler.java:176) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:126) at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:68) at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:63) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:45) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call (ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1103) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get (ProviderToInternalFactoryAdapter.java:40) at com.google.inject.internal.SingletonScope$1.get (SingletonScope.java:145) at com.google.inject.internal.InternalFactoryToProviderAdapter.get (InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016) at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1092) at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012) at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81) at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51) at java.util.AbstractMap.get (AbstractMap.java:187) at org.codehaus.plexus.compiler.manager.DefaultCompilerManager.getCompiler (DefaultCompilerManager.java:54) at org.apache.maven.plugin.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:335) at org.apache.maven.plugin.CompilerMojo.execute (CompilerMojo.java:128) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:993) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:345) at org.apache.maven.cli.MavenCli.main (MavenCli.java:191) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) 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] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.276 s [INFO] Finished at: 2018-02-12T15:49:32-06:00 [INFO] Final Memory: 26M/579M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project artemis-tomcat-jndi-resources-sample: Execution default-compile of goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile failed: A required class was missing while executing org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile: org/codehaus/plexus/compiler/CompilerResult [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.apache.maven.plugins:maven-compiler-plugin:2.3.2 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/home/jbertram/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.jar [ERROR] urls[1] = file:/home/jbertram/.m2/repository/org/codehaus/plexus/plexus-compiler-javac-errorprone/2.8/plexus-compiler-javac-errorprone-2.8.jar [ERROR] urls[2] = file:/home/jbertram/.m2/repository/com/google/errorprone/error_prone_core/2.0.9/error_prone_core-2.0.9.jar [ERROR] urls[3] = file:/home/jbertram/.m2/repository/com/google/errorprone/error_prone_annotation/2.0.9/error_prone_annotation-2.0.9.jar [ERROR] urls[4] = file:/home/jbertram/.m2/repository/com/github/stephenc/jcip/jcip-annotations/1.0-1/jcip-annotations-1.0-1.jar [ERROR] urls[5] = file:/home/jbertram/.m2/repository/org/pcollections/pcollections/2.1.2/pcollections-2.1.2.jar [ERROR] urls[6] = file:/home/jbertram/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar [ERROR] urls[7] = file:/home/jbertram/.m2/repository/com/google/code/findbugs/jFormatString/3.0.0/jFormatString-3.0.0.jar [ERROR] urls[8] = file:/home/jbertram/.m2/repository/com/google/code/findbugs/jsr305/3.0.0/jsr305-3.0.0.jar [ERROR] urls[9] = file:/home/jbertram/.m2/repository/org/checkerframework/dataflow/1.8.10/dataflow-1.8.10.jar [ERROR] urls[10] = file:/home/jbertram/.m2/repository/org/checkerframework/javacutil/1.8.10/javacutil-1.8.10.jar [ERROR] urls[11] = file:/home/jbertram/.m2/repository/com/google/errorprone/javac/1.9.0-dev-r2973-2/javac-1.9.0-dev-r2973-2.jar [ERROR] urls[12] = file:/home/jbertram/.m2/repository/com/google/errorprone/error_prone_annotations/2.0.9/error_prone_annotations-2.0.9.jar [ERROR] urls[13] = file:/home/jbertram/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar [ERROR] urls[14] = file:/home/jbertram/.m2/repository/org/codehaus/plexus/plexus-compiler-api/1.8.1/plexus-compiler-api-1.8.1.jar [ERROR] urls[15] = file:/home/jbertram/.m2/repository/org/codehaus/plexus/plexus-compiler-manager/1.8.1/plexus-compiler-manager-1.8.1.jar [ERROR] urls[16] = file:/home/jbertram/.m2/repository/org/codehaus/plexus/plexus-compiler-javac/1.8.1/plexus-compiler-javac-1.8.1.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[project>org.apache.activemq.examples.modules:artemis-tomcat-jndi-resources-sample:2.5.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]] [ERROR] [ERROR] ----------------------------------------------------- [ERROR] : org.codehaus.plexus.compiler.CompilerResult [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/PluginContainerException
Attachments
Issue Links
- links to