Name for argument type [java.lang.String] not available......bug处理
来源:互联网 发布:女士dress code 知乎 编辑:程序博客网 时间:2024/06/01 20:56
开发服务器接口调用没有问题,部署到测试服务器,有一个接口调用时就出现了这问题:
Name for argument type [java.lang.String] not available, and parameter name information not found in class file either
之前的代码:
@RequestMapping(value = "/aaa", method = RequestMethod.GET) public @ResponseBody BaseResponse<Boolean> aaaCheck( @RequestParam(required = true) String version, @RequestParam(required = true) String productId) { ...... }
修改为:
@RequestMapping(value = "/aaa", method = RequestMethod.GET) public @ResponseBody BaseResponse<Boolean> aaaCheck( @RequestParam(required = true,value="version") String version, @RequestParam(required = true,value="productId") String productId) { ...... }
竟然就行了!!!!!其他接口不这么写也不会报错,就这个接口要这么写,无语了
试一下markdown1.
- 哈哈,来一个链接:[推广]. ↩
0 0
- Name for argument type [java.lang.String] not available......bug处理
- Name for argument type [java.lang.String] not available
- Name for argument type [java.lang.String] not available, and parameter name information not found in
- Name for argument type [java.lang.String] not available, and parameter name information not found in
- Name for argument type [java.lang.String] not available, and parameter name information not found in
- java.lang.IllegalArgumentException: Name for argument type [java.lang.String] not available, and p
- 关于spring java.lang.IllegalArgumentException: Name for argument type [java.lang.String] 的错误
- 关于spring java.lang.IllegalArgumentException: Name for argument type [java.lang.String] 的错误
- No parameter name specified for argument of type [java.lang.String]
- No parameter name specified for argument of type [java.lang.String],
- springmvc前台get方式传值异常 Name for argument type not available
- Property 'name' not found on type java.lang.String
- No parameter name specified for argument of type [java.lang.Integer]
- java.lang.IllegalStateException: Driver for test database type [H2] is not available in the classpat
- 异常:Property 'name' not found on type java.lang.String,attribute items does not accept any
- javax.el.PropertyNotFoundException: Property 'name' not found on type java.lang.String
- javax.el.PropertyNotFoundExceptionProperty "name" not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'name' not found on type java.lang.String
- linux下音频设备DSP
- Android-只有2个圆角的ImageView
- 日语学习之沪江N3基础 20150618 -5
- Oracle数据库的Ctrl+Z -> Undo
- Message中文API
- Name for argument type [java.lang.String] not available......bug处理
- android之view的TouchDelegate
- Eclipse Remotely Debug Tomcat Distilled 远程调试
- 音乐播放器歌词的逐字渲染效果
- LeetCode | 3 Sum
- SQLCipher的使用
- linux常用命令
- Looksery Cup 2015 G. Happy Line
- BZOJ3112【单纯形】