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

Freeman Fang reassigned SMX4-1471:
----------------------------------

    Assignee: Freeman Fang
    
> 'org.w3c.dom' exposed by org.apache.servicemix.specs.jaxp-api-1.4 conflicts 
> with org.apache.felix.framework
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4-1471
>                 URL: https://issues.apache.org/jira/browse/SMX4-1471
>             Project: ServiceMix 4
>          Issue Type: Bug
>          Components: Bundles, specs
>         Environment: <groupId>org.apache.felix</groupId>
> <artifactId>org.apache.felix.framework</artifactId>
> <version>4.2.1</version>
>                       
>            Reporter: Cristiano Gavião
>            Assignee: Freeman Fang
>
> I'm trying to use org.apache.servicemix.bundles.freemarker/2.3.19_1 that 
> requires packages that is only exposed by 
> org.apache.servicemix.specs.jaxp-api.
> I'm getting this error:
> ERROR: Bundle org.apache.servicemix.bundles.freemarker [16] Error starting 
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.freemarker/2.3.19_1
>  (org.osgi.framework.BundleException: Uses constraint violation. Unable to 
> resolve bundle revision org.apache.servicemix.bundles.freemarker [16.0] 
> because it is exposed to package 'org.w3c.dom' from bundle revisions 
> org.apache.servicemix.specs.jaxp-api-1.4 [17.0] and 
> org.apache.felix.framework [0] via two dependency chains.
> Chain 1:
>   org.apache.servicemix.bundles.freemarker [16.0]
>     import: (osgi.wiring.package=org.w3c.dom)
>      |
>     export: osgi.wiring.package=org.w3c.dom
>   org.apache.servicemix.specs.jaxp-api-1.4 [17.0]
> Chain 2:
>   org.apache.servicemix.bundles.freemarker [16.0]
>     import: (osgi.wiring.package=javax.swing.tree)
>      |
>     export: osgi.wiring.package=javax.swing.tree; uses:=org.w3c.dom
>     export: osgi.wiring.package=org.w3c.dom
>   org.apache.felix.framework [0])

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to