# Detected an error (BundleException) enabling the plugin missing requirement osgi.wiring.package; (osgi.wiring.package=javax.xml.soap)

**URL:** <https://community.developer.atlassian.com/t/detected-an-error-bundleexception-enabling-the-plugin-missing-requirement-osgi-wiring-package-osgi-wiring-package-javax-xml-soap/91314>\
**Category:** Confluence Data Center\
**Tags:** osgi\
**Created:** [April 21, 2025, 10:49am UTC](https://community.developer.atlassian.com/t/detected-an-error-bundleexception-enabling-the-plugin-missing-requirement-osgi-wiring-package-osgi-wiring-package-javax-xml-soap/91314 "2025-04-21T10:49:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HemantSapkal](https://avatars.discourse-cdn.com/v4/letter/h/8c91f0/32.png) [@HemantSapkal](https://community.developer.atlassian.com/u/HemantSapkal)\
**Post date:** [April 21, 2025, 10:49am UTC](https://community.developer.atlassian.com/t/detected-an-error-bundleexception-enabling-the-plugin-missing-requirement-osgi-wiring-package-osgi-wiring-package-javax-xml-soap/91314/1 "2025-04-21T10:49:41Z")

</div>

Hello everyone  
When deploying a plugin in Atlassian Confluence 9.2.2 got this error,  
And due to this error the plugin can’t be enabled

Error:  
Caused by: org.osgi.framework.BundleException: Unable to resolve com.aciworldwide.confluence.plugin.mtr [350](R 350.0): missing requirement [com.aciworldwide.confluence.plugin.mtr [350](R 350.0)] osgi.wiring.package; (osgi.wiring.package=javax.xml.soap) Unresolved requirements: [[com.aciworldwide.confluence.plugin.mtr [350](R 350.0)] osgi.wiring.package; (osgi.wiring.package=javax.xml.soap)]  
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)  
at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)  
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:1006)  
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:992)  
at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:404)  
… 102 more

I tried below AI(Github-Copilot) generated resolution but it did not worked.  
AI generated resolution beow:  
Ensure Dependency is Added: Verify that the jakarta.xml.soap-api dependency is included in your pom.xml. This provides the javax.xml.soap package.  
  
jakarta.xml.soap  
jakarta.xml.soap-api  
2.0.1  
provided  
  
Update OSGi Import-Package: Ensure the javax.xml.soap package is included in the Import-Package section of your confluence-maven-plugin configuration in the pom.xml.  
  
javax.xml.soap,  
…

---

<div class="post-metadata">

**Author:** ![AdrianMrchen](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/adrianmrchen/32/49612_2.png) [@AdrianMrchen](https://community.developer.atlassian.com/u/AdrianMrchen)\
**Post date:** [April 22, 2025, 11:56am UTC](https://community.developer.atlassian.com/t/detected-an-error-bundleexception-enabling-the-plugin-missing-requirement-osgi-wiring-package-osgi-wiring-package-javax-xml-soap/91314/2 "2025-04-22T11:56:09Z")

</div>

… just a guess…

You have to switch from javax to jakarta.

> **[Prepare your Data Center app for Platform 7](https://developer.atlassian.com/platform/marketplace/dc-apps-platform-7/#moved-to-jakarta-dependencies)**
>
> Learn how to prepare your Data Center app to work against products that have adopted Platform 7
