You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2024/02/16 13:37:00 UTC

[jira] [Updated] (SM-5662) duplicated Import-Package in spring-webmvc-6.1.2_1 fails to resolve bundle

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

Jean-Baptiste Onofré updated SM-5662:
-------------------------------------
    Fix Version/s: bundles-2024.02

> duplicated Import-Package in spring-webmvc-6.1.2_1 fails to resolve bundle
> --------------------------------------------------------------------------
>
>                 Key: SM-5662
>                 URL: https://issues.apache.org/jira/browse/SM-5662
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: bundles
>            Reporter: Flavio Donzé
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: bundles-2024.02
>
>
> In the current version of [spring-webmvc |https://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-webmvc/6.1.2_1] there is a duplicated *Import-Package* in the _MANIFEST.MF_.
> This causes Eclipse not to resolve/find the bundle if part of a target definition. 
> The duplicated package is:
> {code:java}
> Invalid manifest header Import-Package: 
> "org.springframework.validation.beanvalidation;version="[6.1.2,6.2)";resolution:="optional"" : Cannot import a package more than once "org.springframework.validation.beanvalidation" 
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)