No parameter name specified for argument of type
背景:Ant将web app打包成war包后,部署到tomcat容器中,在前端页面请求参数时,后台报错:No parameter name specified for argument of type,
原因:在springmvc的controller类中,方法请求参数没有加@RequestParam 注解的情况下,如果在非debug模式下编译源代码,就会此错误
解决方法:
1、在参数前添加
原创
2015-07-24 08:38:09 ·
1896 阅读 ·
0 评论