[
https://issues.apache.org/jira/browse/WAGON-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16287732#comment-16287732
]
Laurent GraniƩ commented on WAGON-492:
--------------------------------------
If I use this DownloaderBean with SpringBoot 1.5.9-RELEASE it's ok.
So finally, it's not really a wagon bug.
It's maybe more a dependency problem due to JBoss 6.4 modules/sub-system
dependencies.
> Using Wagon component with Spring
> ---------------------------------
>
> Key: WAGON-492
> URL: https://issues.apache.org/jira/browse/WAGON-492
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-provider-api
> Affects Versions: 2.12
> Reporter: Laurent GraniƩ
> Attachments: DownloaderBean.java, bniapi-wagon.zip
>
>
> I'm using Wagon with Spring.
> With version 2.10 it's ok. But since version 2.12 I can not load component
> into Spring.
> You can find my DownloaderServiceBean attached.
> The error is like :
> Unsatisfied dependency expressed through field 'downloader': Error
> creating bean with name 'downloaderBean': Invocation of init method
> failed; nested exception is java.lang.NoSuchMethodError:
> org.codehaus.plexus.configuration.PlexusConfiguration.setName(Ljava/lang/String;)V;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'downloaderBean': Invocation of init method
> failed; nested exception is java.lang.NoSuchMethodError:
> org.codehaus.plexus.configuration.PlexusConfiguration.setName(Ljava/lang/String;)V
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)