默认加载 mybatis-default.xml,可通过 mybatis.configLocation 参数指定 mybatis-config.xml 文件
This commit is contained in:
@@ -35,7 +35,7 @@ server:
|
||||
schemeHttps: false
|
||||
|
||||
#======================================#
|
||||
#========== Database sttings ==========#
|
||||
#========= Database settings ==========#
|
||||
#======================================#
|
||||
|
||||
# 数据库连接
|
||||
@@ -99,9 +99,6 @@ logging:
|
||||
# MyBatis 相关
|
||||
mybatis:
|
||||
|
||||
# MyBatis 配置文件
|
||||
configLocation: /mybatis/mybatis-default.xml
|
||||
|
||||
# Mapper文件刷新线程
|
||||
mapper:
|
||||
refresh:
|
||||
|
||||
Reference in New Issue
Block a user