Error updating database. Cause: java.sql.SQLException: Column count doesn't match value count at row 1
### The error may involve com.lzc.mapper.RegisterMapper.addRegister-Inline
### The error occurred while setting parameters
### SQL: insert into register values( ?,?,?,?, ?,?,?,?, ?,?,? )
### Cause: java.sql.SQLException: Column count doesn't match value count at row 1
SQL语句写错了 java.sql.SQLException:列计数与第1行的值计数不匹配
DEBUG [main] - Invoking afterPropertiesSet() on bean with name 'hospitalizationMapper'
ERROR [main] - Error while adding the mapper 'interface com.lzc.mapper.HospitalizationMapper' to configuration.
org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'hospitalizationMap'. Cause: java.lang.ClassNotFoundException: Cannot find class: hospitalizationMap
解决 :resultMap="registerMap" resultMap写错为resultMap