1
OSGI 번들 개발을 처음 사용합니다. 내가 그것을 배포 할 때 내가 메이븐 스크립트를 사용하여 번들을 만들려고하고, 내가 더 성공 솔루션을 구글하려고 다음과 같은 오류OSGI 번들 오류 - 번들 4의 해결되지 않은 제약 조건 : 패키지. (package = com.sun.org.apache.xerces.internal.parsers)
*BundleProvisioningResourceLocator->error: Unable to handle Bundle: [bundle-jar-file-name].jar. Bundle state: UPDATED org.osgi.framework.BundleException: Unresolved constraint in bundle 4: package; (package=com.sun.org.apache.xerces.internal.parsers) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3090) at org.apache.felix.framework.Felix.startBundle(Felix.java:1439) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:774) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:755) ...... at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Actions.actionPerformed(Unknown Source) at javax.swing.SwingUtilities.notifyAction(Unknown Source) at javax.swing.JComponent.processKeyBinding(Unknown Source) at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(Unknown Source) at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(Unknown Source) at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(Unknown Source) at javax.swing.JMenuBar.processKeyBinding(Unknown Source) at javax.swing.KeyboardManager.fireBinding(Unknown Source) at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source) at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source) at javax.swing.JComponent.processKeyBindings(Unknown Source) at javax.swing.JComponent.processKeyEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)*
무엇입니까!
해결 방법은 무엇이든 도움이 될 것입니다.
팁 주셔서 감사합니다. 실제로 패키지를 내보낼 때 문제가있었습니다. 문제의 근본 원인은 클래스 경로 충돌입니다! – iamrakesh