Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Could not resolve module / unresolved requirement org.eclipse.core.runtime
Could not resolve module / unresolved requirement org.eclipse.core.runtime [message #1829938] Tue, 14 July 2020 13:11 Go to next message
surfspider surfspider is currently offline surfspider surfspiderFriend
Messages: 3
Registered: July 2020
Junior Member
I have updated eclipse target plattform to eclipse version 2020_06 / JDK 11 (old version: Oxygen 4.7. and JDK 8). 'org.eclipse.core.runtime' is added as plugin depedency in the MANIFEST.MF of ch.myorg.myapp.ide.app. If I start the RCP application from the IDE I get following error. What could be the problem here? Where 'org.eclipse.core.runtime' is missing?

java.version=11.0.7
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product ch.myorg.myapp.ide.app.product
Command-line arguments:  -product ch.myorg.myapp.ide.app.product -data C:\projects\workspaces\myappWorkspace -dev file:C:/Projects/Workspaces/Eclipse2020-06-workspace_2/.metadata/.plugins/org.eclipse.pde.core/myorg-ide.product/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog

!ENTRY ch.myorg.myapp.ide.app 2 0
!MESSAGE Could not resolve module: ch.myorg.myapp.ide.app [1]
  Unresolved requirement: Import-Package: ch.myorg.common.util.logging; resolution:="optional"
  Unresolved requirement: Import-Package: ch.myorg.common.util.logging.V2; resolution:="optional"
  Unresolved requirement: Require-Bundle: org.eclipse.core.runtime; bundle-version="3.18.0"


!ENTRY org.eclipse.osgi 4 0 
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:81)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1420)
An error has occurred. See the log file



config.ini:
#Product Runtime Configuration File

osgi.splashPath=platform:/base/plugins/ch.myorg.myapp.ide.app
eclipse.product=ch.myorg.myapp.ide.app.product
osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.core.runtime@start,org.eclipse.equinox.ds@start
osgi.bundles.defaultStartLevel=4
org.eclipse.ui.workbench/SHOW_BUILDID_ON_STARTUP=true
usage_reporting_enabled=false
# Tell the BundleLoader to search the classes in the following packages in the system classloader first (before searching the bundles). 
org.osgi.framework.bootdelegation=com.sun.*,sun.*
# osgi.hook.configurators=ch.myorg.myapp.ide.app.hooks.myappDevelopmentHookConfigurator
osgi.framework.extensions=ch.myorg.myapp.ide.app


Thank you in advance for your answer
Re: Could not resolve module / unresolved requirement org.eclipse.core.runtime [message #1830039 is a reply to message #1829938] Thu, 16 July 2020 06:21 Go to previous message
Rolf Theunissen is currently offline Rolf TheunissenFriend
Messages: 260
Registered: April 2012
Senior Member
There are lot of version you are skipping, please check all changes, incompatibilities and suggested adoptations in the Plug-in Migration Guide:
https://help.eclipse.org/2020-06/index.jsp?nav=%2F2_3

For instance, org.eclipse.equinox.ds has been replaced by org.apache.felix.scr, with incorrect start-levels this prevents staring your product:
https://help.eclipse.org/2020-06/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fporting%2F4.10%2Frecommended.html&cp%3D2_3_7_3
Previous Topic:Update the tool control values programmatically
Next Topic:Integrating Terminal to Custom IDE
Goto Forum:
  


Current Time: Sun Dec 08 00:12:03 GMT 2024

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

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

Back to the top