腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(2568)
视频
沙龙
1
回答
Spring
Boot
:
不支持
已
解析
的
[
org.springframework.web.HttpRequestMethodNotSupportedException
:
请求
方法
'
POST
‘]
、
、
我在做我
的
"Edit.html“此页面上有一个表单,该页面用于编辑现有页面上
的
信息。我在许多站点上使用了相同
的
"
Post
“
方法
,并且没有出现错误。但是我不知道为什么我会在这个时候得到下面的错误。我
的
控制器: @PostMapping("editKursInfo") @Valid @ModelAttribute布局代码): <form
浏览 432
提问于2020-07-03
得票数 0
1
回答
spring
Boot
-“状态”:405,“错误”:“不允许
的
方法
”
、
我使用创建了一个简单
的
Spring
服务,当我发布到http://localhost:8080/greeting时将得到以下错误 -“状态”:405,“错误”:“不允许
的
方法
”,"exception":"
org.springframework.web.HttpRequestMethodNotSupportedException
",“消息”:“
请求
方法
'
POST
‘不受支持”,
浏览 5
提问于2016-01-23
得票数 9
1
回答
我不能成为百里香和春天
的
朋友
、
、
当您单击搜索按钮时,在我
的
html中出现错误: <form method="
post
"> <input type="number" name="numberProt"> <buttontype="submit">Найти</button> </form> 在我
的
@Controller中 @Controller public class ViolationCon
浏览 28
提问于2020-04-28
得票数 0
回答已采纳
1
回答
Spring
中
的
全局异常防御不起作用
、
、
、
我在
Spring
应用程序中添加了全局异常
的
以下定义,并得到了下面的异常,但我不知道出了什么问题,我认为我
的
Spring
安全性存在问题,但我不确定是否有人能帮助我?<!:
请求
方法
'GET‘
不支持
’public String addUser(
的
处理程
浏览 0
提问于2014-12-13
得票数 0
回答已采纳
2
回答
解析
的
[
org.springframework.web.HttpRequestMethodNotSupportedException
:
请求
方法
'
POST
‘
不支持
]
Spring
、
、
、
、
我使用
Spring
、Hibernate、Maven创建了一个示例crud操作应用程序。我所有的行动都很顺利。我在更新
方法
上出了问题。我不知道我哪里出了问题。我参考了这篇文章。添加、删除、显示
方法
运行良好。下面是我尝试更新时遇到
的
问题。警告:
已
解析
的
org.springframework.web.HttpRequestMethodNotSupportedException
:
请求
方法
'
POST
浏览 20
提问于2021-12-11
得票数 0
1
回答
不支持
已
解析
的
[
org.springframework.web.HttpRequestMethodNotSupportedException
:
请求
方法
'
POST
‘]
、
、
、
当您按下按钮时,错误解决
的
org.springframework.web.HttpRequestMethodNotSupportedException
:
请求
方法
'
POST
‘不受支持 @EntityHashSet<>(); @RequestMapping(value = "/admin/team/user}", method = RequestMethod.
POST
admi
浏览 31
提问于2020-02-03
得票数 0
2
回答
在
spring
中过滤特定
的
HTTP谓词
在我
的
spring
应用程序中,由于一些客户机
请求
HTTP,我遇到了很多错误:如何过滤这些
请求
,使它们不会在每个控制器中生成错误?
浏览 4
提问于2016-10-29
得票数 2
回答已采纳
1
回答
(
spring
-
boot
) http到https重定向,405
方法
不允许消息
、
、
、
、
我在AWS中使用
Spring
boot
和http来重定向使用弹性beanstalk
的
https。但是在http中,get
方法
(在控制器中)是可以
的
,但是
post
方法
是不可以
的
…… { "timestamp": 1508137623531, "status"
浏览 6
提问于2017-10-16
得票数 1
1
回答
如何在
spring
-
boot
中禁用静态内容句柄?
、
、
、
我使用链接来配置安全性,并将
spring
-
boot
作为其他配置
的
基础。但是
spring
-
boot
提供
的
静态资源处理程序是在安全设置之前执行
的
。因此,如果我发送
POST
请求
,静态内容处理程序会响应
不支持
POST
方法
。如果我
请求
GET
方法
,静态响应处理程序会捕获它并尝试查找资源。因此,静态内容处理程序捕获
的
任何
请求
浏览 0
提问于2014-12-16
得票数 7
回答已采纳
1
回答
如何测试
Spring
中控制器
方法
可用
的
特定http
请求
方法
?
、
、
、
、
我需要检查是否只有特定
的
http
方法
是可用
的
一些url。因此,我正在寻找一种适当
的
方法
来确保,我
的
rest资源只能通过文档中指定
的
请求
方法
来获得。我想到了两个解决办法: 添加自定义异常
解析
器以处理
不支持
的
org.springframework.web.Htt
浏览 4
提问于2016-10-05
得票数 2
1
回答
解析
处理程序中
的
异常[null]:
不支持
org.springframework.web.HttpRequestMethodNotSupportedException
:
请求
方法
'GET‘
、
、
:从处理程序null中解决异常:
不支持
的
s.w.s.m.m.a.RequestMappingHandlerMapping
请求
方法
'GET‘2018-06-03 12:52:42.963调试10888 -:从处理程序空
解析
异常:
org.springframework.web.HttpRequestMethodNotSupportedException
:
请求
方法
'GET’
不支持
2018-06-03 12:从处理程序空
浏览 0
提问于2018-06-03
得票数 0
3
回答
Spring
Boot
-
请求
方法
'
POST
‘
不支持
、
、
我
的
Spring
应用程序中出现了异常PageNotFound: Request method '
POST
' not supported。这是我
的
控制器:public class LoginController { UserWrapper userWrapper = new UserWrapper();@RequestMapping(value = "/api/login", method = RequestMethod.
浏览 6
提问于2015-02-25
得票数 6
1
回答
Spring
boot
“
不支持
请求
方法
'
POST
‘”
、
@Controller public String test(){ } 属性:
spring
.mvc.view.suffix=.html 这是一个简单
的
mvc控制
浏览 3
提问于2017-12-21
得票数 0
3
回答
Spring
Boot
405
POST
方法
不支持
吗?
、
、
POST
方法
怎么可能
不支持
?!我正在尝试实现一个简单
的
post
方法
,它接受一个实体列表:下面是我
的
代码public class TagsControllertagsService.add(keywords);}http://localhost:8090/backof
浏览 8
提问于2015-09-09
得票数 9
回答已采纳
2
回答
不支持
AffirmPaymentController
请求
方法
'
POST
‘
、
、
、
下面是我
的
方法
publiccheckout.affirm.authorisation.failed"); }当GET
请求
被称为它
的
工作状态时,但是当
浏览 2
提问于2020-08-19
得票数 0
回答已采纳
2
回答
spring
-cloud如何使用端点
、
、
、
、
对于
Spring
Boot
Actuator应用程序,有一些额外
的
管理端点:它工作并返回:"testprop": "test value"但当我执行
POST
时:
不支持
请求
方法
‘
POST
我
浏览 3
提问于2017-12-12
得票数 0
1
回答
spring
boot
中
不支持
请求
方法
'
POST
‘
、
、
、
我正在开发一个项目在
Spring
Boot
帐单。我已经成功地建立和运行这个项目,但有一些问题。 package com.billing.controller; org.hibernate.Transaction tx=null; @Request
浏览 1
提问于2015-09-02
得票数 0
2
回答
不支持
请求
方法
'
POST
‘- Java
Spring
Boot
、
、
、
我
的
拒绝页面工作良好,当点击“寄存器”时,它接受输入并推入数据库。但是,当我单击到"list a item“页面时,该页面同样会在单击"list item”时将输入推送到数据库中
的
表中,从而产生"Request Method '
POST
‘不受支持“。文件
的
一部分: <form th:action="@{/update_user_page}" method="
post
&qu
浏览 2
提问于2022-04-18
得票数 -1
回答已采纳
1
回答
spring
-
boot
对context-path
的
请求
/为静态内容生成405不允许
的
方法
错误
、
我有一个带有上下文路径/services
的
spring
引导应用程序。属性文件中
的
上下文路径条目: server.servlet.context-path=/services 当我使用带有GET
方法
的
URL时,它工作正常,并返回静态index.html文件作为响应。但是,当我尝试在
POST
方法
中使用相同
的
URL时,我得到了以下错误: { "timestamp": "2020-11-11T07:06
浏览 128
提问于2020-11-11
得票数 1
回答已采纳
2
回答
如何使用@ExceptionHandler捕获HTTP 405“不允许”异常?
、
、
return new ResponseEntity<Object>(exceptionDetail, internalServerError);} "error": "Method Not Allowed", "path": "/api/groups/jkjk&qu
浏览 6
提问于2020-10-31
得票数 3
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Spring + OpenAI 生成图像=王炸
SpringBoot:停掉应用服务几种方法
Spring Boot实践教程(四):发布RESTful API
Restful API是什么?该怎么设计API呢
SpringBoot2.x中Json基础使用详解
热门
标签
更多标签
云服务器
ICP备案
云直播
对象存储
腾讯会议
活动推荐
运营活动
广告
关闭
领券