执行删除操作的时候爆出没有返回类型错误。可是配置文件中有设定啊。### Error querying database. Cause: org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'me.gacl.mapping.userMapper.selectAll'. It's likely that neither a Result Type nor a Result Map was specified.### The error may exist in me/gacl/Mapper/userMapper.xml### The error may involve me.gacl.mapping.userMapper.selectAll-Inline### The error occurred while setting parameters### SQL: select * from users### 配置文件:<!-- 查询全部用户--><select id="selectAll" parameterType="me.gacl.domain.User">select * from users</select>找达到注解的配置文件:### Error building SqlSession.### The error may exist in me.gacl.Mapper.UserMapperI### Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource me.gacl.Mapper.UserMapperI可是我配置了啊。ctry也能点过去。<mapper resource="me.gacl.Mapper.UserMapperI"/>
添加回答
举报
0/150
提交
取消