Name for argument type [java.lang.String] not available, and parameter name information not found in

分手后的思念是犯贱 2024-03-17 22:25 160阅读 0赞

Name for argument type [java.lang.String] not available, and parameter name information not found in_xingzheliucsdn的博客-CSDN博客

Name for argument type [java.lang.String] not available, and parameter name information not found in

xingzheliucsdn

于 2017-09-25 21:27:55 发布

34552
收藏 3
版权
异常:Name for argument type [java.lang.String] not available, and parameter name information not found in class file either

解决:方案一:在项目名上右键选择Properties—》JavaCompiler—》Add variable attributs…打上对号

方案二:主动声明参数绑定,

public void json(HttpServletResponse response,Model model , @RequestParam(value=”username”) String username)

发表评论

表情:
评论列表 (有 0 条评论,160人围观)

还没有评论,来说两句吧...

相关阅读