Unresolved requirements issue since upgrade to RAP 3.5 [message #1791533] |
Mon, 02 July 2018 07:39 |
Andrea Antonello Messages: 6 Registered: June 2015 |
Junior Member |
|
|
Hello,
I am having a strange issue sine my upgarde to RAP 3.5. I was upgrading from 3.4 and am just using plugins from the target platform (well, plus equinox security, which I do not think should be the problem and anyways has been downloaded from the same eclipse Photon version).
When I run my application inside eclipse, everything works fine, but when I export the application, it doesn't run, complaining about unresolved dependencies.
The stack trace is the following:
!SESSION 2018-07-02 09:18:46.307 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_60
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64 -consolelog -console
!ENTRY org.eclipse.equinox.http.jetty 4 0 2018-07-02 09:18:46.687
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.equinox.http.jetty [3]
Unresolved requirement: Import-Package: javax.servlet; version="[2.6.0,4.0.0)"
at org.eclipse.osgi.container.Module.start(Module.java:444)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
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 have in the path the javax.servlet version 3.1.0, so it should be in the range [2.6.0,4.0.0).
I am unable to figure out what is going on, has anyone an idea about how I could debug this?
Thank you,
Andrea
|
|
|
Re: Unresolved requirements issue since upgrade to RAP 3.5 [message #1791538 is a reply to message #1791533] |
Mon, 02 July 2018 08:22 |
Andrea Antonello Messages: 6 Registered: June 2015 |
Junior Member |
|
|
Ok, I am going to answer myself, at least partially.
Once the logical stuff doesn't work, one tries the random.
So I removed the photon launcher plugins and put back the ones from oxygen. Magically it now works.
These are the two versions at play:
|-- plugins_oxygen
| |-- org.apache.commons.logging_1.1.1.v201101211721.jar
| |-- org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.550.v20170928-1359
| |-- org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
| `-- org.eclipse.update.configurator_3.3.400.v20160506-0750.jar
|-- plugins_photon
| |-- org.apache.commons.logging_1.1.1.v201101211721.jar
| |-- org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.700.v20180518-1200
| |-- org.eclipse.equinox.launcher_1.5.0.v20180512-1130.jar
| `-- org.eclipse.update.configurator_3.4.0.v20180512-1141.jar
I am still puzzeled, but at leats it works.
Does anyone have and idea abotu what is going on?
Best,
Andrea
[Updated on: Mon, 02 July 2018 08:25] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02916 seconds