Skip to main content



      Home
Home » Eclipse Projects » Equinox » Servlet Bridge broken in 2018-03
Servlet Bridge broken in 2018-03 [message #1804633] Fri, 29 March 2019 13:18 Go to next message
Eclipse UserFriend
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 10:26 Go to previous message
Eclipse UserFriend
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: Wed May 07 14:56:31 EDT 2025

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

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

Back to the top