# Unable to resolve osgi.wiring.package when deploying URcap

**URL:** <https://forum.universal-robots.com/t/unable-to-resolve-osgi-wiring-package-when-deploying-urcap/8529>\
**Category:** URCap Development\
**Created:** [August 21, 2020, 8:03am UTC](https://forum.universal-robots.com/t/unable-to-resolve-osgi-wiring-package-when-deploying-urcap/8529 "2020-08-21T08:03:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon14775335](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@anon14775335](https://forum.universal-robots.com/u/anon14775335)\
**Post date:** [August 21, 2020, 8:03am UTC](https://forum.universal-robots.com/t/unable-to-resolve-osgi-wiring-package-when-deploying-urcap/8529/1 "2020-08-21T08:03:26Z")

</div>

Hi all,

I have run into the following error when attempting to deploy an URcap on a CB-series cobot:

```
ERROR [Thread-3] 09:30:03 21/08/20: Error starting bundle.
org.osgi.framework.BundleException: Unable to resolve com.comp.lightUp [142](R 142.0): missing requirement [com.comp.lightUp [142](R 142.0)] osgi.wiring.package; (&(osgi.wiring.package=com.ur.urcap.api.contribution)(version>=1.8.0)(!(version>=2.0.0))) Unresolved requirements: [[com.comp.lightUp [142](R 142.0)] osgi.wiring.package; (&(osgi.wiring.package=com.ur.urcap.api.contribution)(version>=1.8.0)(!(version>=2.0.0)))]
	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4114)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2111)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:964)
	at com.ur.view.polyscope.module.ContributionBinding.startURCapBundles(ContributionBinding.java:57)
	at com.ur.view.polyscope.module.ContributionBinding.initialize(ContributionBinding.java:28)
	at com.ur.view.polyscope.module.ContributionBinding.registerContributions(ContributionBinding.java:107)
	at gui.main.URGUI.bindServices(URGUI.java:446)
	at gui.main.URGUI.bindServices(URGUI.java:404)
	at gui.main.URGUI.run(URGUI.java:205)

```

The maven installation runs cleanly, but the above error appears when starting the URsim. The URcap cannot be used.  
I am using the Starter Package SDK 1.10.0 and deploying on a CB-series cobot with software version 3.9.1.

The error appears both for the URsim and the physical cobot. It appears for both the URcap I developed and the “lightUp” URcap from the tutorial. The error does not appear when deploying the URcap on e-series version 5.8.0 (URsim), e-series version 5.9 (physical cobot) and CB-series version 3.13.0 (URsim).

Does anyone know how to fix this?

Thanks in advance,  
Karin

---

<div class="post-metadata">

**Author:** ![anon73882248](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anon73882248](https://forum.universal-robots.com/u/anon73882248)\
**Post date:** [August 21, 2020, 10:00am UTC](https://forum.universal-robots.com/t/unable-to-resolve-osgi-wiring-package-when-deploying-urcap/8529/2 "2020-08-21T10:00:06Z")

</div>

CB version 3.9.1 only supports URCap API versions up to 1.6.x. In this case you either need to use the Starter Package SDK 1.6.x and recompile your URCap, or update the robot to 3.13, or later, which supports 1.10.0.

e-series added the URCap API 1.10.0 in 5.8 which is why those work.
