Caused by: java.lang.NumberFormatException: For input string: " 60"

原因 原原因:string转int 格式出错

解决:我的输入文件格式在根据“,”分割完之后多出了一个空格,我想要的是“60” 但是分割完之后是“ 60”所以导致格式转换不匹配。

猜你喜欢

转载自www.cnblogs.com/msq2000/p/11795223.html