java - spring boot 访问静态页面出现Request method 'GET' not supported异常?
黄舟
黄舟 2017-04-18 10:47:33
0
5
2095

今天发现不能访问静态页面了,报的异常的是Request method 'GET' not supported.
html页面放在static下面

页面内容:

异常:

请教这是什么引起的?以前都是可以访问的.

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(5)
伊谢尔伦

I found the problem,

刘奇

Because you didn’t introduce jquery, you commented it.

Ty80

Check the controller code or related configuration

大家讲道理

Check your control layer (Controller). This error occurs because the mapping address you requested does not support GET requests

黄舟

You’d better send the controller related code, otherwise you won’t see anything

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!