手机号码,快捷登录
签到天数: 805 天
[LV.10]以坛为家III
2053
2111
73万
管理员
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, 2025-5-15 09:53 , Processed in 0.080048 second(s), 29 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.