版权声明:本文为博主原创文章,转载请说明出处 https://blog.csdn.net/u010002184/article/details/82857995
Application类也是在顶层目录下,看了一下Controller中的这个方法是Post,需要改成Get,因为浏览器通过手动输入的url只能访问get方法,此时访问不到post方法!
WARN: 2018-09-26 18:51:52 [org.springframework.web.servlet.PageNotFound:255] Request method 'POST' not supported