title: Wildfly - Java8 - UT010009(does not implement javax.servlet.Servlet)
body: <p>Migrating java7 to java8 and used wildfly to deploy the services. During deployment following Error is blocking the migration.</p>
  
  <p> Caused by: java.lang.IllegalArgumentException: UT010009: Servlet dispatcher of type class org.springframework.web.servlet.DispatcherServlet does not implement javax.servlet.Servlet </p>
  
  <p>@Jboss-deployment-structure.xml following exclusion is defined</p>
  
  <pre><code>    &lt;exclusions&gt;
          &lt;module name="javax.api" /&gt;
          &lt;module name="javax.servlet.api" /&gt;         
      &lt;/exclusions&gt;
  </code></pre>
  
  <p>spring version  "4.3.4.RELEASE"</p>
  
  <p>Any advice  :)
  Thanks in advance!!</p>