Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Servlet Bridge broken in 2018-03
Servlet Bridge broken in 2018-03 [message #1804633] Fri, 29 March 2019 17:18 Go to next message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 243
Registered: March 2010
Location: France
Senior Member
Hello,

Trying to deploy a servlet bridge application in a regular tomcat 8.5
is not possible anymore since 2018-03

Could not resolve module: org.eclipse.equinox.http.servlet [191]
Unresolved requirement: Import-Package: javax.servlet; version="[3.1.0,5.0.0)"

So it seems equinox is requiring servlet 3.1 at least. which is a version supported by tomcat 8.5
The issue is probably in FrameworkLauncher code

else if (context.getMajorVersion() == 3) {
// We know spec version 3.0 corresponds to package version 2.6
// we are guessing future 3.x spec versions will increment package versions minor, so ...
String servletVersion = (context.getMajorVersion() - 1) + "." + (context.getMinorVersion() + 6); //$NON-NLS-1$

As Servlet version is 3.1, extension bundle export 2.7 version because of this code.

Is it a known issue ?
Re: Servlet Bridge broken in 2018-03 [message #1804807 is a reply to message #1804633] Mon, 01 April 2019 14:26 Go to previous message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 243
Registered: March 2010
Location: France
Senior Member
I have filled https://bugs.eclipse.org/bugs/show_bug.cgi?id=546010
Previous Topic:p2 .settings
Next Topic:Can't install features in RCP
Goto Forum:
  


Current Time: Fri Apr 26 20:33:27 GMT 2024

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

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

Back to the top