Web项目出现:
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NumberFormatException: null
错误,
修改方法:(带条件查询的Integer类型判断一下是否为空)
if (request.getParameter("属性值")!=null) {
topicDto.setSkillId(Integer.parseInt(request.getParameter("属性值")));
}