茗越

关注

servlet报错HTTP method GET is not supported by this URL

茗越

关注

阅读 54

2022-11-24


报错信息如下

HTTP Status 405 - HTTP method GET is not supported by this URL

type Status report

message HTTP method GET is not supported by this URL

description The specified HTTP method is not allowed for the requested resource.

Apache Tomcat/7.0.75

原因是在覆盖doPost或者doGet的时候忘记去掉super.doGet或则super.doPost了,去掉就好了。


相关推荐

年夜雪

HTTP Status 405 - HTTP method GET is not supported by this URL

年夜雪 29 0 0

迎月兮

SpringMVC中出现”HTTP Status 405 - Request method 'PUT' not supported”

迎月兮 133 0 0

JakietYu

feign远程调用get请求接口 报“Request method ‘POST‘ not supported“ 异常

JakietYu 52 0 0

you的日常

解决:Method definition shorthands are not supported

you的日常 51 0 0

千行

Hive SQLException: Method not supported问题

千行 50 0 0

mjjackey

【HTTP】方法(method)以及 GET 和 POST 的区别

mjjackey 17 0 0

at小涛

db_ha执行ha_isready报错authentication method 13 not supported

at小涛 69 0 0

三维控件研究

Supported method argument types Spring MVC

三维控件研究 53 0 0

生态人

springboot使用@PostMapping方法访问url,报405错误,not support ‘GET‘ method

生态人 40 0 0

cnlinkchina

Error received: Error: XHR ‘GET‘ to URL returned status HTTP 0

cnlinkchina 54 0 0

精彩评论(0)

0 0 举报