因为 maven版本过低 3.5.2 导致 setting文件中的部分标签无法读取 更新为 3.5.4 后 项目成功启动。
由于要集成腾讯的 TSF这个东东,导致maven spring boot 项目在整合的时候全部报错,项目在进行
maven 的update操作时,总是无法从远端获取到 TSF的jar包文件。 尝试了多种办法后,终于想到了
更新maven的版本。重新安装了新的maven,然后在系统的 环境变量设置 中的系统变量 中的 MAVEN_HOME
的指向进行了更新: 例如:G:\doucInstall\apache-maven-3.5.4
最后在进行 maven update 成功下载了远程 jar包 ,项目终于可以正常启动了。。。。 。。。。
在之前无法正常拉取 jar包时 ,报错内容如下 :
Project build error: Non-resolvable parent POM for com.faw.openapi:faw-openapi:1.0: Failure to find com.tencent.tsf:spring-cloud-tsf-dependencies:pom:1.14.1-Finchley-RELEASE in http://129.84.195.113:8001/repository/maven-public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM
将maven版本升级,即重新安装了高版本3.5.4的版本后,问题得以解决!!!