Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7.7
-
None
-
Unknown
Description
LoggerListener has an optional dependency to the servlet spec 3.0.
This spec defines javax.servlet.http in version 2.6.
So the import in sts-core uses version [2.6,3).
Karaf 2.3.x only offers the servlet spec 2.5 jar which exports the package as 2.5.
So the optional import is not found and so we get the error.
Inside LoggerListener we only check for NPE and for Exception. As this is an Error it completely breaks the execution.