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);