赞
踩
org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'long'; nested exception is java.lang.NumberFormatException: For input string: "null"
当后台没有查询到,给前台传入null时报这个错误
nested exception is java.lang.NumberFormatException: For input string: "null"
增加判空语句,当有空时不执行
if(videoBulletbox != "null" && videoBulletbox != "" ){}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。