HTTP Status 500 - Servlet.init() for servlet Dispatcher threw exception

前端 未结 2 1819
猫巷女王i
猫巷女王i 2021-01-05 17:36

When I\'m trying to run this simple html form:

   
       
        Enter a new Page
       

         


        
2条回答
  •  清歌不尽
    2021-01-05 18:08

    You map your dispatcher on *.do:

    
       Dispatcher
       *.do
    
    

    but your controller is mapped on an url without .do:

    @RequestMapping("/editPresPage")
    

    Try changing this to:

    @RequestMapping("/editPresPage.do")
    

提交回复
热议问题