![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
maven
maven
BooleanZhang
这个作者很懒,什么都没留下…
展开
-
springboot maven多模块打包引入common子项目找不到jar包的解决办法
父项目和common子模块都不加入 <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin>只在非common子模块的项目中加入原创 2020-09-08 01:58:33 · 6769 阅读 · 1 评论 -
maven项目(包括springboot等)引入本地jar时打jar或者war包发布,报找不到引入的jar包的问题解决方案
在maven项目中很多时候可能需要我们通过add reference方式引入的本地的jar包,而且自己在本地运行也是没有任何问题,但是在打包发布的时候就会报错找不到自己引入的文件,比如:惊不惊喜?意不意外?在这里,说下如何解决类似的问题。首先,我们在通过上述方式引入的时候只是说我们run的时候自己本地项目知道根据你导入jar的路径去加载jar包,所以会没问题。但是!打包之后,这个jar...原创 2019-05-23 18:06:10 · 8328 阅读 · 6 评论