0 Replies Latest reply on Mar 26, 2014 2:51 PM by rjadrian

    JBoss 6/7 and SpringMVC with Java Config not working

    rjadrian

      I am using SpringMVC 3.2 with java configuration instead of xml.  My set up works on Tomcat 7 just fine, but returns a 404 on JBoss AS 6 or 7.1.1.

       

      I tried the following and it also did not work

      thiagoandrade6/test · GitHub

       

      Forums suggest changing this servlet mapping from / to /*

      @Override

          protected String[] getServletMappings() {

         return new String[] {"/"};

          }

       

      Doing so eliminates the 404, but shows the jsp contents as text.