You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by hitesh <hb...@yahoo.com> on 2010/07/09 15:26:57 UTC

Problem in compiling the SeviceMix examples

When I am trying to build the servicemix 4.2 examples using mvn:install, I am
getting this error:

[INFO] Class org.codehaus.plexus.logging.console.ConsoleLogger does not
implement the requested interface org.codehaus.plexus.logging.Logger
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.IncompatibleClassChangeError: Class
org.codehaus.plexus.logging.console.ConsoleLogger does not implement the
requested interface org.codehau
s.plexus.logging.Logger
        at
org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:330)
        at
org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute(AbstractZipArchiver.java:250)
        at
org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:786)
        at
org.apache.maven.archiver.MavenArchiver.createArchive(MavenArchiver.java:543)
        at
org.apache.servicemix.maven.plugin.jbi.GenerateServiceUnitMojo.createArchive(GenerateServiceUnitMojo.java:130)
        at
org.apache.servicemix.maven.plugin.jbi.GenerateServiceUnitMojo.execute(GenerateServiceUnitMojo.java:106)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

I verified the Logger, AbstractLogger and the ConsoleLogger from the
plexus-container-default jar file under the 1.0-alpha-8 version does
implement the methods in the Logger interface correctly. 

Any idea why I am getting this error?

Thanks.
-- 
View this message in context: http://servicemix.396122.n5.nabble.com/Problem-in-compiling-the-SeviceMix-examples-tp1045516p1045516.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.