【问题解决】springmvc list绑定练习出现java.lang.NumberFormatException异常
项目:springmvc day2 list绑定练习
页面端出现异常:HTTP Status 500 - Request processing failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'itemsCustomList[0 ]' of bean class [cn.zhaojiuhui.ssm.po.ItemsQueryVo]: Invalid index in property path 'itemsCustomList[0 ]'; nested exception is java.lang.NumberFormatException: For input string: "0 "
可以看到问题出在“0 ”多了个空格