原始
mybatis:
mapper-locations: classpath:mapper/*.xml
修改爲:
mybatis:
mapper-locations: classpath:mapper/.xml
增加一個*表示會搜索jar包下的路徑
原始
mybatis:
mapper-locations: classpath:mapper/*.xml
修改爲:
mybatis:
mapper-locations: classpath:mapper/.xml
增加一個*表示會搜索jar包下的路徑
腳本如下: 1 # coding: utf-8 2 3 """ 4 該腳本主要做把源目錄下所有文件,照搬原路徑基礎上覆制文件 5 """ 6 7 import os 8 # import shutil