先阅读 http://blog.csdn.net/softwarehe/article/details/8889206
mybatis: basepackage: com.tk.**.dao xmlLocation: classpath*:com/tk/**/*.xml
dao层以jar包的形式依赖到项目中,classpath需要添加*号
先阅读 http://blog.csdn.net/softwarehe/article/details/8889206
mybatis: basepackage: com.tk.**.dao xmlLocation: classpath*:com/tk/**/*.xml
dao层以jar包的形式依赖到项目中,classpath需要添加*号