标签:问题 main 打包 没有 文件 res ack bye example
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
mybatis:
# mapper.xml 文件路径
mapper-locations: classpath:com/example/blog/dao/mapper/*.xml
# mybatis的xml文件中需要写类的全限定名,可以配置自动扫描包路径给类配置别名
type-aliases-package: com.example.blog.entity
@MapperScan("com.example.demo.dao")
@SpringBootApplication
public class BlogApplication {
}
标签:问题 main 打包 没有 文件 res ack bye example
原文地址:https://www.cnblogs.com/lishaobo/p/11910725.html