1、问题见图片
方案:具体的原因我不是很清楚,按这个上面的细节提示,找了好多资料,还是没有弄好,后来在命令行里直接安装Oracle驱动时,报了maven远程仓库配置错误,(我配的阿里云的maven仓库出错,不知道什么原因。我本来是配了两个远程仓库:阿里云和maven中央仓库,阿里云的在前面,结果有一些jar包就是下载不了,后来把阿里云的远程仓库链接注释掉了,再update项目,项目恢复正确)(真是坑啊。。。。。。。。。。)
<mirrors>
<!-- mirror
| Specifies a repository mirror site to use instead of a given repository. The repository that
| this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
| for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
|
<mirror>
<id>mirrorId</id>
<mirrorOf>repositoryId</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://my.repository.com/repo/path</url>
</mirror>
-->
<!--============ @author:fzywhy @times:2018-11-07 @described:设置远程仓库 ============-->
<!---->
<!-- <mirror>
<id>nextus-aliyun</id>
<mirrorOf>*</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror> -->
<mirror>
<id>Central</id>
<url>http://repo1.maven.org/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>