Servlet Bridge broken in 2018-03 [message #1804633] |
Fri, 29 March 2019 13:18  |
Eclipse User |
|
|
|
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 ?
|
|
|
|
Powered by
FUDForum. Page generated in 0.05112 seconds