私はSTSの使用を開始しましたが、私が見てきた以前の回答には私の質問に対する答えがありません。会社のプロキシを使用した新しいSpring Starterプロジェクトの解決不可能な親POM
Project build error: Non-resolvable parent POM for learn.fullstack.ngspring:demo:0.0.1-SNAPSHOT:
Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:1.5.8.RELEASE from
https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be
reattempted until the update interval of central has elapsed or updates are forced. Original error: Could
not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.8.RELEASE from/to
central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path
building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid
certification path to requested target and 'parent.relativePath' points at no local POM
1)私は、環境設定の下でプロキシ設定を構成しは - >ネットワーク接続、私は春スタータープロジェクト
2)私は、任意のMVNが
3)Iをコマンドを実行することができませんを作成することを可能にします
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>XXXXXX</host>
<port>XX</port>
<username>XXXXXXX</username>
<password>XXXXXXX</password>
</proxy>
</proxies>
</settings>
これらの2つの手順を実行した後で作業することができません。私の質問は次のとおりです。
1)pom.xmlファイルを変更する必要はありますか?
2)「ローカルPOM」または直接STSがローカルPOMを指し示す場所はどこですか?
まず、pom.xmlを編集する必要はありません。会社内でnexusを使用していて、spring reposやmaven settings.xmlのnexusサーバーURL定義にアクセスする際に問題が発生していると思います。 – Habil