Exception in thread "main" org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.ssm.dao.UserMapper.addUser
mybatis找不到UserMapper.xml文件,需要在mybatis-config中配置
<mappers> <mapper resource="UserMapper.xml"/> </mappers>
Exception in thread "main" org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.ssm.dao.UserMapper.addUser
mybatis找不到UserMapper.xml文件,需要在mybatis-config中配置
<mappers> <mapper resource="UserMapper.xml"/> </mappers>