Когда я запускаю mvn clean install -U, я получаю следующий результат:
[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/or ... -3.5.5.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.samplecrudapi:springsectrail:0.0.1-SNAPSHOT: The following artifacts could not be resolved: org.springframework.boot:spring-boot-starter-parent:pom:3.5.5 (absent): Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:3.5.5 from/to central (https://repo.maven.apache.org/maven2): Network is unreachable: getsockopt and 'parent.relativePath' points at no local POM @ line 5, column 10
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.samplecrudapi:springsectrail:0.0.1-SNAPSHOT (D:\code\Sampletrailproject\springsectrail\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.samplecrudapi:springsectrail:0.0.1-SNAPSHOT: The following artifacts could not be resolved: org.springframework.boot:spring-boot-starter-parent:pom:3.5.5 (absent): Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:3.5.5 from/to central (https://repo.maven.apache.org/maven2): Network is unreachable: getsockopt and 'parent.relativePath' points at no local POM @ line 5, column 10 -> [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/disp ... gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/disp ... lException'
Файл settings.xml имеет следующее содержимое:
Подробнее здесь: https://stackoverflow.com/questions/798 ... ntpom3-5-5