SEVERE: Servlet.service() for servlet [springmvc] in context with path [/carRent] threw exception [Request processing failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Error setting null for parameter #1 with JdbcType OTHER . Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property. Cause: java.sql.SQLException: 无效的列类型
- xml映射文件没有写返回值或者参数类型,
- controller里面 的map的键写的和xml映射文件不一致