title: Struts 1.1 and Servlet 2.5 - NoClassDefFoundError for JspException during tests
body: <p>After updating servlet-api provided dependency in pom from 2.3 to 2.5, unit tests for our custom Struts 1.1 RequestProcessor started to fail with NoClassDefFoundError: javax/servlet/jsp/JspException, which indeed is lacking in servlet-api-2.5, compared to 2.3.</p>
  
  <p>I use JUnit 4.11 and JMockit 1.2 for unit testing.</p>
  
  <p>Interestingly, the application works fine after deploying it to JBoss 5.1.</p>
  
  <p>Is Struts 1.1 compatible with web apps using servlet api 2.5? </p>
  
  <p>Maybe JBoss 5.1 servlet-api is different from servlet-api-2.5 taken from maven repository?</p>