手机号码,快捷登录
签到天数: 792 天
[LV.10]以坛为家III
2049
2107
72万
管理员
scope为system的maven默认是不打包进去的。
网上查了很多解决方案,基本都是错误的,特别是中文社区,基本没有说到点上的。配置resource的,更容易导致其他问题。
最后,翻到github上的spring-projects/spring-boot的issue里,终于找到了正确的解决之道。
很简单。
<plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <includeSystemScope>true</includeSystemScope> </configuration> </plugin>
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|Java自学者论坛 ( 声明:本站文章及资料整理自互联网,用于Java自学者交流学习使用,对资料版权不负任何法律责任,若有侵权请及时联系客服屏蔽删除 )
GMT+8, 2024-9-17 06:12 , Processed in 0.060615 second(s), 29 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.