报错:Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property.
原因:jsp页面未向controller传入参数,或者参数名字不一致。
修改:传入相同名字的参数,或使用@RequestParam设置id即可。
public xxx xxx(@RequestParam(name = “id”,required = true) String MyId)
其中:注解中的name值为页面传入参数名。