Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Unresolved requirement org.osgi.service.component
Unresolved requirement org.osgi.service.component [message #1791440] Fri, 29 June 2018 10:59 Go to next message
Marco Maccaferri is currently offline Marco MaccaferriFriend
Messages: 138
Registered: July 2009
Senior Member
Hello,

I'm building an RCP application that is logging the following error about a missing requirement for the org.osgi.service.component package. The application seems to work correctly (it is a legacy application so it doesn't use any new e4 features) however I would like to fix that error. What plugin should export that package ?

!ENTRY org.eclipse.equinox.ds 4 0 2018-06-25 15:27:49.880
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.equinox.ds [3]
  Unresolved requirement: Import-Package: org.osgi.service.component; version="1.3.0"
 
at org.eclipse.osgi.container.Module.start(Module.java:444)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1634)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1614)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1585)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1528)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)


Best regards,
Marco.
Re: Unresolved requirement org.osgi.service.component [message #1791446 is a reply to message #1791440] Fri, 29 June 2018 13:18 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 786
Registered: January 2012
Senior Member

Ctrl-Shift-A (Open Artifacts) is your friend: it shows that it comes from org.eclipse.osgi.services.

Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Re: Unresolved requirement org.osgi.service.component [message #1791447 is a reply to message #1791446] Fri, 29 June 2018 14:02 Go to previous message
Marco Maccaferri is currently offline Marco MaccaferriFriend
Messages: 138
Registered: July 2009
Senior Member
Got it! I need to update the bundles startup.

Thanks

Best regards,
Marco.
Previous Topic:Background Indexer Crash Recovery
Next Topic:How to know if user has a programming language installed in Eclipse
Goto Forum:
  


Current Time: Tue Nov 13 16:12:53 GMT 2018

Powered by FUDForum. Page generated in 0.02023 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top