Hi

While compiling launchpad/base, I am getting the following compilation
error:

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/satyadeep/git/
github.com/sling/launchpad/base/src/main/java/org/apache/sling/launchpad/base/webapp/SlingHttpSessionListenerDelegate.java:[41,27]
cannot access javax.servlet.http.HttpSessionIdListener
  class file for javax.servlet.http.HttpSessionIdListener not found
[INFO] 1 error


This error gets resolved if I fix the servlet-api version in pom from 3.0.1
to 3.1.0 . And this change seems valid as well because
javax.servlet.http.HttpSessionIdListener is available since Servlet 3.1
only. I wonder if others are facing this problem and if not, why?

Regards
Satya Deep

Reply via email to