将本地Jar添加到maven依赖的正确方式_post-processing of merged bean definition failed; _咻咻ing的博客-CSDN博客

网站介绍:文章浏览阅读1.7k次。在使用SpringBoot项目开发时,如果使用本地Jar导入的依赖库,可能会报错误:此时你需要把本地jar通过maven的方式配置到pom文件中,在你的项目中创建libs目录,把你的jar包复制进去,然后配置pom.xmlscope配置为system,systemPath配置为文件路径。还有一种方式就是把本地jar包推送到公司内部的私有仓库,配置好你的maven仓库地址和对应的repositoryId,在你的maven setting.xml文件中可以找到配置。..._post-processing of merged bean definition failed; nested exception is java.l