Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
maven crash on NoSuchMethodError
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
bartek
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2004
Posts: 78
Location: Poland, Pysznica

PostPosted: Sat Jan 12, 2013 8:59 pm    Post subject: maven crash on NoSuchMethodError Reply with quote

When I run maven it crashes with this error:

Code:

$ mvn
---------------------------------------------------
constituent[0]: file:/usr/share/maven-bin-3.0/lib/aether-connector-wagon-1.11.jar
constituent[1]: file:/usr/share/maven-bin-3.0/lib/maven-embedder-3.0.4.jar
constituent[2]: file:/usr/share/maven-bin-3.0/lib/maven-settings-builder-3.0.4.jar
constituent[3]: file:/usr/share/maven-bin-3.0/lib/aether-spi-1.13.1.jar
constituent[4]: file:/usr/share/maven-bin-3.0/lib/maven-model-3.0.3.jar
constituent[5]: file:/usr/share/maven-bin-3.0/lib/maven-embedder-3.0.3.jar
constituent[6]: file:/usr/share/maven-bin-3.0/lib/wagon-http-lightweight-1.0-beta-7.jar
constituent[7]: file:/usr/share/maven-bin-3.0/lib/maven-model-builder-3.0.3.jar
constituent[8]: file:/usr/share/maven-bin-3.0/lib/aether-connector-wagon-1.13.1.jar
constituent[9]: file:/usr/share/maven-bin-3.0/lib/aether-api-1.13.1.jar
constituent[10]: file:/usr/share/maven-bin-3.0/lib/aether-api-1.11.jar
constituent[11]: file:/usr/share/maven-bin-3.0/lib/plexus-cipher-1.7.jar
constituent[12]: file:/usr/share/maven-bin-3.0/lib/maven-aether-provider-3.0.4.jar
constituent[13]: file:/usr/share/maven-bin-3.0/lib/maven-model-builder-3.0.4.jar
constituent[14]: file:/usr/share/maven-bin-3.0/lib/sisu-inject-bean-2.3.0.jar
constituent[15]: file:/usr/share/maven-bin-3.0/lib/aether-util-1.13.1.jar
constituent[16]: file:/usr/share/maven-bin-3.0/lib/maven-core-3.0.4.jar
constituent[17]: file:/usr/share/maven-bin-3.0/lib/sisu-inject-bean-2.1.1.jar
constituent[18]: file:/usr/share/maven-bin-3.0/lib/plexus-interpolation-1.14.jar
constituent[19]: file:/usr/share/maven-bin-3.0/lib/maven-compat-3.0.4.jar
constituent[20]: file:/usr/share/maven-bin-3.0/lib/wagon-file-2.2.jar
constituent[21]: file:/usr/share/maven-bin-3.0/lib/maven-core-3.0.3.jar
constituent[22]: file:/usr/share/maven-bin-3.0/lib/wagon-provider-api-2.2.jar
constituent[23]: file:/usr/share/maven-bin-3.0/lib/nekohtml-1.9.6.2.jar
constituent[24]: file:/usr/share/maven-bin-3.0/lib/sisu-inject-plexus-2.1.1.jar
constituent[25]: file:/usr/share/maven-bin-3.0/lib/sisu-guice-2.9.4-no_aop.jar
constituent[26]: file:/usr/share/maven-bin-3.0/lib/wagon-file-1.0-beta-7.jar
constituent[27]: file:/usr/share/maven-bin-3.0/lib/maven-aether-provider-3.0.3.jar
constituent[28]: file:/usr/share/maven-bin-3.0/lib/plexus-component-annotations-1.5.5.jar
constituent[29]: file:/usr/share/maven-bin-3.0/lib/sisu-guava-0.9.9.jar
constituent[30]: file:/usr/share/maven-bin-3.0/lib/wagon-http-shared-1.0-beta-7.jar
constituent[31]: file:/usr/share/maven-bin-3.0/lib/aether-util-1.11.jar
constituent[32]: file:/usr/share/maven-bin-3.0/lib/aether-spi-1.11.jar
constituent[33]: file:/usr/share/maven-bin-3.0/lib/maven-artifact-3.0.4.jar
constituent[34]: file:/usr/share/maven-bin-3.0/lib/sisu-guice-3.1.0-no_aop.jar
constituent[35]: file:/usr/share/maven-bin-3.0/lib/wagon-provider-api-1.0-beta-7.jar
constituent[36]: file:/usr/share/maven-bin-3.0/lib/aether-impl-1.11.jar
constituent[37]: file:/usr/share/maven-bin-3.0/lib/aether-impl-1.13.1.jar
constituent[38]: file:/usr/share/maven-bin-3.0/lib/sisu-inject-plexus-2.3.0.jar
constituent[39]: file:/usr/share/maven-bin-3.0/lib/maven-artifact-3.0.3.jar
constituent[40]: file:/usr/share/maven-bin-3.0/lib/plexus-cipher-1.4.jar
constituent[41]: file:/usr/share/maven-bin-3.0/lib/maven-plugin-api-3.0.3.jar
constituent[42]: file:/usr/share/maven-bin-3.0/lib/wagon-http-2.2-shaded.jar
constituent[43]: file:/usr/share/maven-bin-3.0/lib/maven-repository-metadata-3.0.4.jar
constituent[44]: file:/usr/share/maven-bin-3.0/lib/maven-plugin-api-3.0.4.jar
constituent[45]: file:/usr/share/maven-bin-3.0/lib/plexus-utils-2.0.6.jar
constituent[46]: file:/usr/share/maven-bin-3.0/lib/maven-settings-3.0.3.jar
constituent[47]: file:/usr/share/maven-bin-3.0/lib/commons-cli-1.2.jar
constituent[48]: file:/usr/share/maven-bin-3.0/lib/maven-settings-3.0.4.jar
constituent[49]: file:/usr/share/maven-bin-3.0/lib/plexus-sec-dispatcher-1.3.jar
constituent[50]: file:/usr/share/maven-bin-3.0/lib/xercesMinimal-1.9.6.2.jar
constituent[51]: file:/usr/share/maven-bin-3.0/lib/maven-repository-metadata-3.0.3.jar
constituent[52]: file:/usr/share/maven-bin-3.0/lib/maven-settings-builder-3.0.3.jar
constituent[53]: file:/usr/share/maven-bin-3.0/lib/maven-model-3.0.4.jar
constituent[54]: file:/usr/share/maven-bin-3.0/lib/maven-compat-3.0.3.jar
---------------------------------------------------
Exception in thread "main" java.lang.NoSuchMethodError: org.sonatype.guice.bean.reflect.Logs.debug(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
        at org.sonatype.guice.plexus.scanners.PlexusXmlScanner.parseComponentsXml(PlexusXmlScanner.java:212)
        at org.sonatype.guice.plexus.scanners.PlexusXmlScanner.scan(PlexusXmlScanner.java:98)
        at org.sonatype.guice.plexus.binders.PlexusXmlBeanModule.configure(PlexusXmlBeanModule.java:91)
        at org.sonatype.guice.plexus.binders.PlexusBindingModule.configure(PlexusBindingModule.java:66)
        at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
        at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
        at com.google.inject.spi.Elements.getElements(Elements.java:101)
        at com.google.inject.spi.Elements.getElements(Elements.java:78)
        at org.sonatype.guice.bean.binders.MergedModule.configure(MergedModule.java:54)
        at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
        at com.google.inject.spi.Elements.getElements(Elements.java:101)
        at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:132)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
        at com.google.inject.Guice.createInjector(Guice.java:95)
        at com.google.inject.Guice.createInjector(Guice.java:72)
        at com.google.inject.Guice.createInjector(Guice.java:62)
        at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:450)
        at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:186)
        at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:153)
        at org.apache.maven.cli.MavenCli.container(MavenCli.java:375)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:191)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum