Hi

Looks like you have a conflict on your platform (and yes, this DOM stuff is 
nasty, as is all XML, unfortunately)

If your Java Platform provides the org.w3c.dom.traversal package, you might 
want to expose it through the system bundle using the 
org.osgi.framework.system.packages.extra framework property

Regards
Felix

Am 27.05.2013 um 05:24 schrieb Cristiano Gavião:

Hello,

I'm trying to use
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.freemarker/2.3.19_1

When I used it alone I got 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: Unresolved constraint in bundle
org.apache.servicemix.bundles.freemarker [16]: Unable to resolve 16.0:
missing requirement [16.0] osgi.wiring.package;
(osgi.wiring.package=org.w3c.dom.traversal))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.servicemix.bundles.freemarker [16]: Unable to resolve 16.0:
missing requirement [16.0] osgi.wiring.package;
(osgi.wiring.package=org.w3c.dom.traversal)
   at
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
   at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
   at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
   at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
   at java.lang.Thread.run(Thread.java:722)
So, I search for a bundle that provides that package:
org.apache.servicemix.specs.jaxp-api-1.4. But now I'm get 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])
could someone point me any way to handle this conflict?

thanks,

Cristiano

---------------------------------------------------------------------
To unsubscribe, e-mail: 
[email protected]<mailto:[email protected]>
For additional commands, e-mail: 
[email protected]<mailto:[email protected]>


Reply via email to