cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <>
Subject [jira] [Created] (CXF-5283) sts: NoClassDefFoundError in LoggerListener
Date Tue, 17 Sep 2013 08:59:51 GMT
Christian Schneider created CXF-5283:

             Summary: sts: NoClassDefFoundError in LoggerListener
                 Key: CXF-5283
             Project: CXF
          Issue Type: Bug
          Components: STS
    Affects Versions: 2.7.7
            Reporter: Christian Schneider
             Fix For: 3.0.0, 2.7.8

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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message