0 Replies Latest reply on Feb 13, 2017 4:02 AM by neeraj1984

    "No mapping found for HTTP request with URI in DispatcherServlet with name ..." issue

    neeraj1984

      Hi All,

       

       

      Currently I am working on a web application which uses Spring 4.x and hibernate 4.x,hosted on jboss 7.1. Everything works fine.

       

       

      We need to migrate the project to WildFly 10.1.0 app server. I have created a setup with Eclipse Luna,Java 8 and Wildfly 10.

      When I create a war file and deploy it in WildFly 10.1.0,It deploys correctly but when I hit the first login URL of application then it gives 404 error. I see in the log(WARN) saying

      "No Mapping found for HTTP request with URI..........."

       

       

      My jsp file is using tile(exa:header.jsp) in it using Spring tiles 2 .

      When I enabled the springs logs then found that actually request is getting divided into 2 request by DispatcherServlet(1 for login,1 for the tile page added on it)

      For tile(header.jsp),it is not able to find the request handler and hence 404. Same issue is occuring with WildFly 8.2 as well.

       

       

      I suspect If I need some different settings in web.xml.

       

       

       

       

      Thanks

      Neeraj