maven项目pom.xml文件第一行报错Missing artifact com.github.pagehelper:pagehelper:jar:3.4.2-fix解决方法

原因分析:

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

解决方法:需要添加以下配置:


                com.github.pagehelper
                pagehelper
                3.2.1

例如:本人工程manage-web下的pom.xml报错,需要在manage-web以及他的父工程manage两个pm.xml文件下添加以上配置,保存即可解决问题。

你可能感兴趣的:(maven)