Comment 3 for bug 1664179

Yury Zavarin (tadam) wrote :

> I believe you would then propose we change 2.2 to 3.0?

If you simply change 2.2 to 3.0 in debian/rules in that stanze, then it'll change the dependency on javax.el:el-api as well.

So, the dependencies should be the following:
javax.el:el-api:2.2 (same as it is now)
javax.servlet:servlet-api:3.0 (changed from 2.2 to 3.0)

You can consult the table of versions for jsp, servlet, etc. here:

In case of libservlet2.5-java package maintainers have replaced the actual versions to "debian", so it works properly.

For the case of libservlet3.1-java everything is also fine:
(compare it with the table).

Saying more general: Tomcat always provides a compatible set of versions for jsp-api, servlet-api and el-api. So, POM dependencies within a libservletXXX-java package have to point to the corresponding versions of .jar-s that are placed in such package.