CardMapper is not known to the MapperRegistry.

//Type interface com.itheima.demo01.one_to_one.CardMapper is not known to the MapperRegistry.
//Mybatis注解一定要注册自己写的接口类
sqlSessionFactory.getConfiguration().addMapper(CardMapper.class);
sqlSessionFactory.getConfiguration().addMapper(PersonMapper.class);

CardMapper is not known to the MapperRegistry.

上一篇:执行create-react-app报错:Could not install from "XXpath" as it does not contain


下一篇:关于iOS开发多线程,你应该知道的