title: Caught exception while allowing TestExecutionListener
body: <p>I create for my project <a href="https://github.com/JonkiPro/popcorn/tree/develop" rel="nofollow noreferrer">https://github.com/JonkiPro/popcorn/tree/develop</a> integration tests for my project. I added a class with an annotation</p>
  
  <pre><code>@TestExecutionListeners(
      {
              DependencyInjectionTestExecutionListener.class,
              DirtiesContextTestExecutionListener.class,
              TransactionalTestExecutionListener.class,
              TransactionDbUnitTestExecutionListener.class
      }
  )
  public abstract class DBUnitTestBase {...}
  </code></pre>
  
  <p>after launching some test, he throws it in the console <a href="https://pastebin.com/8kC4Mkm6" rel="nofollow noreferrer">https://pastebin.com/8kC4Mkm6</a></p>
  
  <pre><code>lip 04, 2018 6:30:10 PM org.springframework.boot.test.context.SpringBootTestContextBootstrapper buildDefaultMergedContextConfiguration
  INFO: Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.jonki.popcorn.core.jpa.service.UserPersistenceServiceImplIntegrationTests], using SpringBootContextLoader
  lip 04, 2018 6:30:10 PM org.springframework.test.context.support.AbstractContextLoader generateDefaultLocations
  INFO: Could not detect default resource locations for test class [com.jonki.popcorn.core.jpa.service.UserPersistenceServiceImplIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
  lip 04, 2018 6:30:11 PM org.springframework.boot.test.context.SpringBootTestContextBootstrapper getTestExecutionListeners
  INFO: Using TestExecutionListeners: [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@769e7ee8, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5276e6b0, org.springframework.test.context.transaction.TransactionalTestExecutionListener@71b1176b, com.github.springtestdbunit.TransactionDbUnitTestExecutionListener@6193932a]
  
  java.lang.NoClassDefFoundError: javax/servlet/SessionCookieConfig
  ...
  
  lip 04, 2018 6:30:12 PM org.springframework.test.context.TestContextManager prepareTestInstance
  SEVERE: Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@769e7ee8] to prepare test instance [com.jonki.popcorn.core.jpa.service.UserPersistenceServiceImplIntegrationTests@402bba4f]
  java.lang.NoClassDefFoundError: javax/servlet/SessionCookieConfig
  </code></pre>
  
  <p>I have dependencies added</p>
  
  <pre><code>testCompile("com.github.springtestdbunit:spring-test-dbunit:1.3.0")
  testCompile("org.dbunit:dbunit:2.5.4")
  </code></pre>