Mybatis运行时出现:Could not initialize class com.gao.utils.MybatisUtils。 无法实例化类
问题:1、
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gao.mapper.UsersMapper">
在映射配置文件中namespace
原创
2021-09-29 11:31:54 ·
3369 阅读 ·
0 评论