标签:user conf err type bat source nts word 配置文件
mybatis-config.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-config.dtd">
<configuration>
<properties resource="jdbc.properties"></properties>
<typeAliases>
<package name="com.blb.dto"/>
</typeAliases>
<environments default="mysql">
<environment id="mysql">
<transactionManager type="JDBC"></transactionManager>
<dataSource type="POOLED">
<property name="driver" value="${driver}"/>
<property name="url" value="${url}"/>
<property name="username" value="${username}"/>
<property name="password" value="${password}"/>
</dataSource>
</environment>
</environments>
<mappers>
<mapper resource="com/blb/mapper/UserMapper.xml"></mapper>
<mapper resource="com/blb/mapper/RoleMapper.xml"></mapper>
<mapper resource="com/blb/mapper/MenuMapper.xml"></mapper>
<mapper resource="com/blb/mapper/UserRoleMapper.xml"></mapper>
<mapper resource="com/blb/mapper/RoleMenuMapper.xml"></mapper>
</mappers>
</configuration>
标签:user conf err type bat source nts word 配置文件
原文地址:https://www.cnblogs.com/Tsugar/p/12296157.html