这个时候图标上也是一把叉,工程里应该有的结构文件也没有出来。
不能计算计划路径:org\apache\maven\plugins\maven-resources-plugin里的2.7或者它的一个依赖不能处理:
不能读取模块描述:org\apache\maven\plugins\maven-resources-plugin
https://blog.csdn.net/gezilan/article/details/80274430
https://blog.csdn.net/wjy329/article/details/79306847
先试了试
把我的本地库路径\org\apache\maven\plugins\maven-resources-plugin里的2.7先删掉,然后再用maven中的强制更新来下载新的2.7文件。。。。然后完全失败,而且得到了另外的错误提示,
如下:
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.taotao:taotao-common:0.0.1-SNAPSHOT: Could not find artifact com.taotao:taotao-parent:pom:0.0.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 11
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.taotao:taotao-common:0.0.1-SNAPSHOT (E:\workspace-taotao\taotao-common\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.taotao:taotao-common:0.0.1-SNAPSHOT: Could not find artifact com.taotao:taotao-parent:pom:0.0.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
如下图:
是因为由于TLSv1.1 协议不安全, 出于PCI 安全标准的原因, 从2018-06-18起, maven Sonatype 中央仓库不再支持 TLSv1.1 以及以下的协议版本,原文参见 no longer supports TLSv1.1 and below 官方说明
详细请看:
http://feitianbenyue.iteye.com/blog/2429045
于是又试了很久。。。。发现我这台电脑还是不行。。。我的maven是3.3.9,我的jdk是1.7版本
我的尝试包括
https://www.imooc.com/wenda/detail/394476?t=285200
https://stackoverflow.com/questions/51090914/received-fatal-alert-protocol-version-build-failure-gradle-maven
https://blog.csdn.net/u010800201/article/details/81285620
https://stackoverflow.com/questions/50946420/could-not-transfer-artifact-https-repo-maven-apache-org-maven2-received-fat
1、首先重新设置编译版本
2、然后在默认的java vm处输入了-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2
虽然解决了,但不知道怎么回事。。。。有点懵,记录在这里,希望能帮到更我一样头疼的朋友