创建Maven项目pom.xml出现错误(依赖Missing)
2017-09-22 11:38
531 查看
Maven的依赖问题
在聚合模块时候,发现在父工程目录中的依赖存在一些问题。一开始是${pagehelper.version},后来将版本直接填写相应的版本如图下
依赖添加失败
* 在父工程的jar包依赖在子工程中无法进行添加报错*
Missing artifact com.github.pagehelper:pagehelper:jar:3.4.2-fix
原因
在父工程中已经确定jar的version,但是jar下载不下来,可能存在两种情况
1. 该jar包非免费,需要付费,所以下载不下来
2. 网络原因,连接不到国外的服务器
所以在父类中填写了低版本,
然后
最后重启eclipse就可以了
原创地址:http://www.cnblogs.com/1314wamm/p/7235453.html
在聚合模块时候,发现在父工程目录中的依赖存在一些问题。一开始是${pagehelper.version},后来将版本直接填写相应的版本如图下
依赖添加失败
* 在父工程的jar包依赖在子工程中无法进行添加报错*
Missing artifact com.github.pagehelper:pagehelper:jar:3.4.2-fix
原因
在父工程中已经确定jar的version,但是jar下载不下来,可能存在两种情况
1. 该jar包非免费,需要付费,所以下载不下来
2. 网络原因,连接不到国外的服务器
所以在父类中填写了低版本,
然后
最后重启eclipse就可以了
原创地址:http://www.cnblogs.com/1314wamm/p/7235453.html
相关文章推荐
- 创建maven项目pom.xml出现错误(依赖Missing)
- 创建Maven web项目时 出现 web.xml is missing and <failOnMissingWebXml> is set to true错误 pox.xml编译错误
- 创建Maven web项目时 出现 web.xml is missing and <failOnMissingWebXml> is set to true错误 pox.xml编译错误
- 创建Maven web项目时 出现 web.xml is missing and <failOnMissingWebXml> is set to true错误 pox.xml编译错误
- 【Java】SVN下载maven项目到eclipse之后,项目红叉,pom.xml出现Missing artifact fakepath:dubbo:jar:2.8.5等缺少jar包情况
- 创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案
- eclipse新建maven项目:pom.xml出现web.xml is missing and <failOnMissingWebXml> is set to true解决方案
- Idear 创建maven web项目后在pom.xml里面添加依赖,但项目里没有jar包
- maven项目出现web.xml is missing and <failOnMissingWebXml> is set to true错误的解决办法
- 【maven】maven创建web项目-pom文件提示web.xml is missing and <failOnMissingWebXml> is set to true
- eclipse的Maven项目pom.xml错误信息提示missingxxxjar解决方案
- maven创建web项目-pom文件提示web.xml is missing and <failOnMissingWebXml> is set to true
- 创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案
- Eclipse创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案
- 创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案
- 在maven的pom.xml中出现Missing:com.sun:tools:jar:1.5.0错误
- 创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案
- Eclipse&Maven导入Maven项目后在pom.xml出现"Missing artifact org.springframework:spring-jdbc:jar:3.2.4.RELEAS"
- eclipse搭建maven项目 pom.xml出现红叉,提示Missing artifact jdk.tools:jdk.tools:jar:1.7,解决办法如下:
- maven项目pom.xml出现missing artifact org.aspectj....报错但是并不影响启动的处理方法