java.lang.IllegalArgumentException: Name for argument type [java.lang.String] not available, and p
来源:互联网 发布:淘宝卖笔记本要3c 编辑:程序博客网 时间:2024/06/07 18:22
java.lang.IllegalArgumentException: Name for argument type [java.lang.String]
not available, and parameter name information not found in class file either.
not available, and parameter name information not found in class file either.
@RequestMapping(value = "/security/login", method = RequestMethod.POST)public ModelAndView login(@RequestParam String userName, @RequestParam String password, HttpServletRequest request) { ......................
Argument names are stored in the compiled code only when it's compiled in debug mode,
so you should either compile it in debug mode or supply
@RequestParam
with explicit parameter names.The latter approach is more reliable because it doesn't depend on the environment:
@RequestMapping(value = "/security/login", method = RequestMethod.POST) public ModelAndView login(@RequestParam("userName") String userName, @RequestParam("password") String password, HttpServletRequest request) { ......................
https://stackoverflow.com/questions/2622018/compile-classfile-issue-in-spring-3
阅读全文
0 0
- java.lang.IllegalArgumentException: Name for argument type [java.lang.String] not available, and p
- 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
- Name for argument type [java.lang.String] not available......bug处理
- 关于spring java.lang.IllegalArgumentException: Name for argument type [java.lang.String] 的错误
- 关于spring java.lang.IllegalArgumentException: Name for argument type [java.lang.String] 的错误
- 关于“java.lang.IllegalArgumentException: argument type mismatch”
- java.lang.IllegalArgumentException: argument type mismatch
- java.lang.IllegalArgumentException: argument type mismatch 错误
- java.lang.IllegalArgumentException: argument type mismatch
- Cause: java.lang.IllegalArgumentException: argument type mismatch
- java.lang.IllegalArgumentException: argument type mismatch
- java.lang.IllegalArgumentException: argument type mismatch
- java.lang.IllegalArgumentException: argument type mismatch
- No parameter name specified for argument of type [java.lang.String]
- No parameter name specified for argument of type [java.lang.String],
- volitale原理
- Linux下的Nagios安装配置
- meta标签content=“IE=edge,chrome=1”解析
- HBase表描述
- Could not find class 'com.google.gson.Gson', referenced from method com.example.test.json.JsonUtil.S
- java.lang.IllegalArgumentException: Name for argument type [java.lang.String] not available, and p
- 如何理解字(word)、字节(byte)、比特(bit)
- BI选型的十大参考
- 小易喜欢的数列
- hdu6124--Euler theorem
- 前台js控制字数限制
- 自传播是什么?如何定义?
- 如何快速转载CSDN中的博客
- 安卓登陆的验证与有效期