Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Could not resolve module: org.eclipse.emf.parsley.rap.runtime
Could not resolve module: org.eclipse.emf.parsley.rap.runtime [message #1776139] Mon, 13 November 2017 06:28 Go to next message
Denis Nikiforov is currently offline Denis NikiforovFriend
Messages: 200
Registered: August 2013
Senior Member
Hello

I've created two example projects ("EMF Parsley RAP Target Platform Example" and "EMF Parsley RAP Example") according to this tutorial http://www.rcp-vision.com/9452/emf-parsley-a-web-application-is-a-few-steps/
I've clicked "Set as Active Target Platform" link. When I launch "Emf_Parsley_RAP_UI_Example.launch" I get a lot of exceptions like this one

!SESSION 2017-11-13 11:17:06.317 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=ru_RU
Command-line arguments:  -dev file:C:/Work/ecp-workspace/.metadata/.plugins/org.eclipse.pde.core/Emf_Parsley_RAP_UI_Example/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog -console -data C:\Work\ecp-workspace/.metadata/.plugins/org.eclipse.rap.tools.launch/Emf_Parsley_RAP_Launch

!ENTRY org.eclipse.emf.parsley.rap.runtime 4 0 2017-11-13 11:17:07.203
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.emf.parsley.rap.runtime [1]
  Unresolved requirement: Require-Bundle: org.eclipse.rap.ui
    -> Bundle-SymbolicName: org.eclipse.rap.ui; bundle-version="3.3.0.20170714-0733"; singleton:="true"
       org.eclipse.rap.ui [49]
         Unresolved requirement: Require-Bundle: org.eclipse.rap.ui.workbench; bundle-version="[3.3.0,4.0.0)"; visibility:="reexport"
           -> Bundle-SymbolicName: org.eclipse.rap.ui.workbench; bundle-version="3.3.0.20170714-0733"; singleton:="true"
              org.eclipse.rap.ui.workbench [29]
                Unresolved requirement: Require-Bundle: org.eclipse.osgi.services
                  -> Bundle-SymbolicName: org.eclipse.osgi.services; bundle-version="3.6.0.v20170228-1906"
                     org.eclipse.osgi.services [39]
                       Unresolved requirement: Import-Package: org.osgi.util.function; version="[1.0.0,2.0.0)"
                Unresolved requirement: Require-Bundle: org.eclipse.equinox.http.registry
                  -> Bundle-SymbolicName: org.eclipse.equinox.http.registry; bundle-version="1.1.400.v20150715-1528"; singleton:="true"
                     org.eclipse.equinox.http.registry [24]
                       Unresolved requirement: Import-Package: org.osgi.service.http; version="1.2.0"
                         -> Export-Package: org.osgi.service.http; bundle-symbolic-name="org.eclipse.osgi.services"; bundle-version="3.6.0.v20170228-1906"; version="1.2.1"; uses:="javax.servlet,javax.servlet.http"
                Unresolved requirement: Import-Package: org.eclipse.rap.rwt.osgi; version="[3.3.0,4.0.0)"
                  -> Export-Package: org.eclipse.rap.rwt.osgi; bundle-symbolic-name="org.eclipse.rap.rwt.osgi"; bundle-version="3.3.0.20170714-0733"; version="3.3.0"
                     org.eclipse.rap.rwt.osgi [33]
                       Unresolved requirement: Import-Package: org.osgi.service.log; version="[1.3.0,2.0.0)"
                         -> Export-Package: org.osgi.service.log; bundle-symbolic-name="org.eclipse.osgi.services"; bundle-version="3.6.0.v20170228-1906"; version="1.3.0"; uses:="org.osgi.framework"
                       Unresolved requirement: Import-Package: org.osgi.service.http; version="[1.2.0,2.0.0)"
                         -> Export-Package: org.osgi.service.http; bundle-symbolic-name="org.eclipse.osgi.services"; bundle-version="3.6.0.v20170228-1906"; version="1.2.1"; uses:="javax.servlet,javax.servlet.http"
  Unresolved requirement: Require-Bundle: org.eclipse.emf.parsley.runtime.common; visibility:="reexport"
    -> Bundle-SymbolicName: org.eclipse.emf.parsley.runtime.common; bundle-version="1.2.1.v20170625-1314"
       org.eclipse.emf.parsley.runtime.common [36]
         Unresolved requirement: Import-Package: org.eclipse.ui.plugin
           -> Export-Package: org.eclipse.ui.plugin; bundle-symbolic-name="org.eclipse.rap.ui.workbench"; bundle-version="3.3.0.20170714-0733"; version="0.0.0"

	at org.eclipse.osgi.container.Module.start(Module.java:444)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1628)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1608)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1579)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1522)
	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)


I've tried EMF Forms RAP examples too, and I get similar exceptions. The launch file looks ok (see attachment).

What am I doing wrong?
Re: Could not resolve module: org.eclipse.emf.parsley.rap.runtime [message #1776141 is a reply to message #1776139] Mon, 13 November 2017 06:34 Go to previous messageGo to next message
Denis Nikiforov is currently offline Denis NikiforovFriend
Messages: 200
Registered: August 2013
Senior Member
When I click "Validate Bundles" button I get the following error:

Missing Constraint: Import-Package: org.osgi.util.function
Missing Constraint: Import-Package: org.osgi.util.promise


Maybe my problem is related to this change? https://www.eclipse.org/eclipse/news/4.7/platform_isv.php#equinox-ds-felix-scr
Re: Could not resolve module: org.eclipse.emf.parsley.rap.runtime [message #1776142 is a reply to message #1776141] Mon, 13 November 2017 06:38 Go to previous message
Denis Nikiforov is currently offline Denis NikiforovFriend
Messages: 200
Registered: August 2013
Senior Member
Oh, I've got it. I've enabled org.eclipse.osgi.util on "Bundles" tab and everything works now!
Previous Topic:Reload of RAP application in browser
Next Topic:Sash of sashform can't be released inside RichTextEditor editor.
Goto Forum:
  


Current Time: Wed Aug 15 12:41:25 GMT 2018

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

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

Back to the top