![]() ![]() There are two possibleĪ dependency that satisfies the final requirement might be missing from theĪ dependency that satisfies the final requirement might not be deployed.īoth cases require deploying a bundle that provides the missing requirement. The last module’sĭependencies are key to resolving the bundle exception. Module Z provides The pattern stops at the final requirement no module provides.Module C provides ccc.ddd but has an unresolved requirement eee.fff.Module B provides aaa.bbb but has an unresolved requirement ccc.ddd.Module A has an unresolved requirement (package or capability) aaa.bbb.The bundle exception message follows this general pattern: Liferay’s OSGi RuntimeĬould not resolve one of the bundle’s transitive requirements. Of the message shows a string of unresolved requirements. The first part of the message states could not resolve the bundles. Unresolved requirement: Require-Capability osgi.extender filter:="(osgi.extender=)" Unresolved requirement: Import-Package: version="[1.0.0,2.0.0)" Unresolved requirement: Import-Package: .api version="[1.0.0,2.0.0)" Here’s an exampleĮxception: ! could not resolve the bundles: OSGi runtime exports, you get a bundle exception. If one of your bundles imports a package that no other bundle in the Liferay ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |