POM.xml 添加依赖报错,提示faild to read artifact descriptor for orag.springframwork.boot:spring-boot-starter-jdbc:jar:2.1.7

时间:2019-08-20
本文章向大家介绍POM.xml 添加依赖报错,提示faild to read artifact descriptor for orag.springframwork.boot:spring-boot-starter-jdbc:jar:2.1.7,主要包括POM.xml 添加依赖报错,提示faild to read artifact descriptor for orag.springframwork.boot:spring-boot-starter-jdbc:jar:2.1.7使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。

问题描述:具体提示如下:

faild to read artifact descriptor for orag.springframwork.boot:spring-boot-starter-jdbc:jar:2.1.7

因为我只在POM.xml加了 这几个依赖但是就报这个错误

<!-- mybatis-->

        <dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>1.3.5</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.48</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.1.18</version>
</dependency>
尝试1:想输入“jdbc”加入该包,但是却没自动带出

尝试2:关掉POM.xml重新打开

依旧报错,只不过左边栏次看起来没报错而已,实际上已就报错

重新输入jdbc依旧没有错误提示的那个包

尝试3

cmd ==》mvn help:effective-settings 

找到MAVEN笨地仓库

 终于能带出来该包

然后自动安装,问题解决


						

原文地址:https://www.cnblogs.com/Python5421/p/11381913.html