解决办法1:让项目启动类和Controller处于同一层 解决办法2:可能这个url请求根本没有写对应的Controller方法,需要写一个url请求对应的Controller方法来处理url请求
@RequestMapping(path
= {"/reglogin"}, method
= {RequestMethod
.GET
})
public String
regloginPage(Model model
, @RequestParam(value
= "next", required
= false) String next
) {
model
.addAttribute("next", next
);
return "login";
}
转载请注明原文地址:https://blackberry.8miu.com/read-7991.html