You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Laurent Granié (JIRA)" <ji...@apache.org> on 2017/12/12 15:11:00 UTC

[jira] [Updated] (WAGON-492) Using Wagon component with Spring

     [ https://issues.apache.org/jira/browse/WAGON-492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laurent Granié updated WAGON-492:
---------------------------------
    Attachment: bniapi-wagon.zip

Exemple project

> 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)