camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject mvn -Pfastinsstall fails on my hudson at home (Linux)
Date Fri, 04 Feb 2011 07:36:25 GMT
I got a failure when building camel. Seems to have to do with slf4j

Any ideas?

Christian



mavenExecutionResult exceptions not empty
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.sun.jersey.contribs:maven-wadl-plugin:1.4:generate
(generate) on project camel-web: Execution generate of goal com.sun.jersey.contribs:maven-wadl-plugin:1.4:generate
failed: A required class was missing while executing com.sun.jersey.contribs:maven-wadl-plugin:1.4:generate:
Lorg/slf4j/Logger;
-----------------------------------------------------
realm =    plugin>com.sun.jersey.contribs:maven-wadl-plugin:1.4
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/var/lib/hudson/.m2/repository/com/sun/jersey/contribs/maven-wadl-plugin/1.4/maven-wadl-plugin-1.4.jar
urls[1] = file:/var/lib/hudson/.m2/repository/com/sun/jersey/jersey-server/1.4/jersey-server-1.4.jar
urls[2] = file:/var/lib/hudson/.m2/repository/com/sun/jersey/jersey-core/1.4/jersey-core-1.4.jar
urls[3] = file:/var/lib/hudson/.m2/repository/asm/asm/3.1/asm-3.1.jar
urls[4] = file:/var/lib/hudson/.m2/repository/org/apache/maven/apache-maven/2.0.9/apache-maven-2.0.9.jar
urls[5] = file:/var/lib/hudson/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.jar
urls[6] = file:/var/lib/hudson/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-10/doxia-sink-api-1.0-alpha-10.jar
urls[7] = file:/var/lib/hudson/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
urls[8] = file:/var/lib/hudson/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
urls[9] = file:/var/lib/hudson/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
urls[10] = file:/var/lib/hudson/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar
urls[11] = file:/var/lib/hudson/.m2/repository/xerces/xercesImpl/2.6.1/xercesImpl-2.6.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[project>org.apache.camel:camel:2.7-SNAPSHOT,
parent: ClassRealm[maven.api, parent: null]]]

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

	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
	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:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
	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.launchStandard(Launcher.java:329)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
	at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:145)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:124)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
	at hudson.remoting.UserRequest.perform(UserRequest.java:114)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:270)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution generate of goal com.sun.jersey.contribs:maven-wadl-plugin:1.4:generate
failed: A required class was missing while executing com.sun.jersey.contribs:maven-wadl-plugin:1.4:generate:
Lorg/slf4j/Logger;
-----------------------------------------------------
realm =    plugin>com.sun.jersey.contribs:maven-wadl-plugin:1.4
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/var/lib/hudson/.m2/repository/com/sun/jersey/contribs/maven-wadl-plugin/1.4/maven-wadl-plugin-1.4.jar
urls[1] = file:/var/lib/hudson/.m2/repository/com/sun/jersey/jersey-server/1.4/jersey-server-1.4.jar
urls[2] = file:/var/lib/hudson/.m2/repository/com/sun/jersey/jersey-core/1.4/jersey-core-1.4.jar
urls[3] = file:/var/lib/hudson/.m2/repository/asm/asm/3.1/asm-3.1.jar
urls[4] = file:/var/lib/hudson/.m2/repository/org/apache/maven/apache-maven/2.0.9/apache-maven-2.0.9.jar
urls[5] = file:/var/lib/hudson/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.jar
urls[6] = file:/var/lib/hudson/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-10/doxia-sink-api-1.0-alpha-10.jar
urls[7] = file:/var/lib/hudson/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
urls[8] = file:/var/lib/hudson/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
urls[9] = file:/var/lib/hudson/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
urls[10] = file:/var/lib/hudson/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar
urls[11] = file:/var/lib/hudson/.m2/repository/xerces/xercesImpl/2.6.1/xercesImpl-2.6.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[project>org.apache.camel:camel:2.7-SNAPSHOT,
parent: ClassRealm[maven.api, parent: null]]]

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

	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 27 more
Caused by: org.apache.maven.plugin.PluginContainerException: A required class was missing
while executing com.sun.jersey.contribs:maven-wadl-plugin:1.4:generate: Lorg/slf4j/Logger;
-----------------------------------------------------
realm =    plugin>com.sun.jersey.contribs:maven-wadl-plugin:1.4
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/var/lib/hudson/.m2/repository/com/sun/jersey/contribs/maven-wadl-plugin/1.4/maven-wadl-plugin-1.4.jar
urls[1] = file:/var/lib/hudson/.m2/repository/com/sun/jersey/jersey-server/1.4/jersey-server-1.4.jar
urls[2] = file:/var/lib/hudson/.m2/repository/com/sun/jersey/jersey-core/1.4/jersey-core-1.4.jar
urls[3] = file:/var/lib/hudson/.m2/repository/asm/asm/3.1/asm-3.1.jar
urls[4] = file:/var/lib/hudson/.m2/repository/org/apache/maven/apache-maven/2.0.9/apache-maven-2.0.9.jar
urls[5] = file:/var/lib/hudson/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.jar
urls[6] = file:/var/lib/hudson/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-10/doxia-sink-api-1.0-alpha-10.jar
urls[7] = file:/var/lib/hudson/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
urls[8] = file:/var/lib/hudson/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
urls[9] = file:/var/lib/hudson/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
urls[10] = file:/var/lib/hudson/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar
urls[11] = file:/var/lib/hudson/.m2/repository/xerces/xercesImpl/2.6.1/xercesImpl-2.6.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[project>org.apache.camel:camel:2.7-SNAPSHOT,
parent: ClassRealm[maven.api, parent: null]]]

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

	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:131)
	... 28 more
Caused by: java.lang.NoClassDefFoundError: Lorg/slf4j/Logger;
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
	at java.lang.Class.getDeclaredFields(Class.java:1743)
	at com.sun.jersey.server.impl.modelapi.annotation.IntrospectionModeller.workOutFieldsList(IntrospectionModeller.java:201)
	at com.sun.jersey.server.impl.modelapi.annotation.IntrospectionModeller.createResource(IntrospectionModeller.java:113)
	at com.sun.jersey.server.wadl.WadlBuilder.generateResource(WadlBuilder.java:325)
	at com.sun.jersey.server.wadl.WadlBuilder.generateResource(WadlBuilder.java:268)
	at com.sun.jersey.server.wadl.WadlBuilder.generate(WadlBuilder.java:104)
	at com.sun.jersey.wadl.GenerateWadlMojo.createApplication(GenerateWadlMojo.java:285)
	at com.sun.jersey.wadl.GenerateWadlMojo.executeWithClasspath(GenerateWadlMojo.java:146)
	at com.sun.jersey.wadl.AbstractMojoProjectClasspathSupport.execute(AbstractMojoProjectClasspathSupport.java:101)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
	... 28 more
Caused by: java.lang.ClassNotFoundException: org.slf4j.Logger
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at com.sun.jersey.wadl.util.Loader.findClass(Loader.java:72)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	... 40 more
channel stopped
Finished: FAILURE

-- 
----
http://www.liquid-reality.de


Mime
View raw message