Request method 'GET' not supported
来源:互联网 发布:小土豆编程破解版 编辑:程序博客网 时间:2024/05/22 15:19
Tomcat 报错信息如下:
HTTP Status 405 - Request method 'GET' not supportedtype Status reportmessage Request method 'GET' not supporteddescription The specified HTTP method is not allowed for the requested resource (Request method 'GET' not supported).Apache Tomcat/6.0.33
在网上搜了一下大家都说是servlet的doget 或dopost方法没有重写
我的根本就不是这情况我是用Json往控制器传输数据的时候报的错 原因是json对日期的封装没有弄好
就是json传时间的原因 如果之有年月日 那很简单 如果有时分秒就要小心了在bean里的get和set方法上加注解如下
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+08:00")
在bean类前面加
@JsonIdentityInfo(generator=ObjectIdGenerators.IntSequenceGenerator.class, property="jsonid")这样就能解决十分秒的问题了
原文详细信息见我百度空间
http://hi.baidu.com/294286540/item/b509bb0e04a2a77bbfe97e80
- Request method 'GET' not supported
- Request method 'GET' not supported
- 记另类Request method 'GET' not supported
- 解决Request method "GET" not supported
- springframework Request method 'GET' not supported
- 解决Request method 'GET' not supported问题
- springboot报错:Request method 'GET' not supported
- request method 'post' not supported
- Request method 'POST' not supported
- Spring MVC出现POST 400 Bad Request &405 Request method 'GET' not supported
- Spring MVC-Request method 'POST' not supported:
- WARN : Request method 'DELETE' not supported
- request method 'post' not supported问题解决
- jsp spring mvc 上传时HTTP Status 405 - Request method 'GET' not supported是什么原因
- JQuery ajax提交表单时<button>按钮引起的 Request method 'GET' not supported错误!
- spring MVC form表单提交用RequestMethod.POST报错 : Request method 'GET' not supported
- springmvc解决 405 request method post not supported(Request method 'POST' not supported)
- org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'PUT' not supported
- 任意长度的高精度大整数加法
- GOT(全局偏移表)和PLT(过程链接表)
- Android 标题栏、状态栏隐藏
- 敏捷开发“松结对编程”实践之四:日常工作篇(大型研发团队,学习型团队,139团队,师徒制度,检查点,代码审查,每日立会)
- Android 开发之使用Eclipse Debug调试详解
- Request method 'GET' not supported
- php调用matlab
- Excel文件与DataSet之间的转化的探索与实现
- 磁盘检测的作用以及相关操作
- mini2440之汇编点亮一个led
- PHP 命令行工具 shell_exec, exec, passthru, system详细使用介绍
- 敏捷开发中asp.net MVC的开发次序感受(先开发View?先开发Model?先开发Controller!)
- 黑马程序员 交通灯管理系统
- ASIHTTPRequest类库简介和使用说明