Missing artifact com.github.pagehelper:pagehelper:jar:3.4.2-fix的解决方法(转载)

Posted jiaxian17

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Missing artifact com.github.pagehelper:pagehelper:jar:3.4.2-fix的解决方法(转载)相关的知识,希望对你有一定的参考价值。

创建maven项目pom.xml出现错误(依赖Missing)

Maven的依赖问题

在聚合模块时候,发现在父工程目录中的依赖存在一些问题。一开始是${pagehelper.version},后来将版本直接填写相应的版本如图下

 

 

依赖添加失败

* 在父工程的jar包依赖在子工程中无法进行添加报错* 
Missing artifact com.github.pagehelper:pagehelper:jar:3.4.2-fix

 

原因

在父工程中已经确定jar的version,但是jar下载不下来,可能存在两种情况 
1. 该jar包非免费,需要付费,所以下载不下来 
2. 网络原因,连接不到国外的服务器

所以在父类中填写了低版本,

 

然后

 

 最后重启eclipse就可以了

以上是关于Missing artifact com.github.pagehelper:pagehelper:jar:3.4.2-fix的解决方法(转载)的主要内容,如果未能解决你的问题,请参考以下文章

Maven报错Missing artifact jdk.tools:jdk.tools:jar:1.7--转

maven missing artifact 怎么解决

修改maven产生missing artifact错误

导入maven项目pom.xml首行报错missing artifact。。。

关于maven的POM提示missing artifact...jar

eclipse导入maven工程missing artifact(实际是存在的)错误解决