[ 
https://issues.apache.org/jira/browse/SM-5662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17816850#comment-17816850
 ] 

Matt Magoffin commented on SM-5662:
-----------------------------------

I found that re-ordering the package import template fixed the issue... and 
opened [PR 239|https://github.com/apache/servicemix-bundles/pull/239].

> 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é
>            Priority: Major
>
> 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)

Reply via email to