6 Replies Latest reply on Dec 28, 2014 11:13 PM by arthurvernon

    Problem getting simple Srping (Servlet 3.0) application work on JBOSS.



      Can someone help me why I can't get simple Spring application using Servlet 3.0 configuration style (no web.xml, java based config etc.) running on Jboss EAP 6.1?

      It's very basic and works fine on Tomacat 7.X and Jetty but failed working on JBoss. There is no error. It seems like It cant recognize servlet mapping in my WebInitializer.



          protected String[] getServletMappings() {

         return new String[] { "/" };



      You can try this nice application (GitHub) from geowarin I tried along with others to verify an issue. (https://github.com/geowarin/spring-mvc-examples.git)