1
resposta

Erro na execução do build sobre o projeto inicial (forum)

Bom dia Rodrigo,

eu segui os passos iniciais de importação do projeto inicial (forum) conforme o vídeo da atividade Hello Horld. No entanto, após importação tive o seguinte erro de build apresentado na aba 'Markers' do Eclipse:

Project build error: Non-resolvable parent POM for br.com.alura:forum:0.0.1-SNAPSHOT: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.1.4.RELEASE from https://www-bin.prevnet/content/groups/public-releases was cached in the local repository, resolution will not be reattempted until the update interval of releases has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.4.RELEASE from/to releases (https://www-bin.prevnet/content/groups/public-releases): www-bin.prevnet and 'parent.relativePath' points at no local POM.

Depois disso, eu fiz um Update Project e em seguia fiz um Maven Build sobre o pom.xml e deu o seguinte:

... [DEBUG] Using connector AetherRepositoryConnector with priority 100.0 for https://www-bin.prevnet/content/groups/public-releases [INFO] Downloading from : https://www-bin.prevnet/content/groups/public-releases/org/springframework/boot/spring-boot-starter-parent/2.1.4.RELEASE/spring-boot-starter-parent-2.1.4.RELEASE.pom [DEBUG] Writing tracking file /home/d347159/.m2/repository/org/springframework/boot/spring-boot-starter-parent/2.1.4.RELEASE/spring-boot-starter-parent-2.1.4.RELEASE.pom.lastUpdated [ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for br.com.alura:forum:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.4.RELEASE from/to releases (https://www-bin.prevnet/content/groups/public-releases): www-bin.prevnet and 'parent.relativePath' points at no local POM @ line 5, column 10 [ERROR] The build could not read 1 project -> [Help 1] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for br.com.alura:forum:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.4.RELEASE from/to releases (https://www-bin.prevnet/content/groups/public-releases): www-bin.prevnet and 'parent.relativePath' points at no local POM @ line 5, column 10 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:397) ...[ERROR] The project br.com.alura:forum:0.0.1-SNAPSHOT (/home/d347159/Documents/pessoal/cursos/tecnologia/ti/alura/spring_boot/projetos_baixados_alura/forum/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for br.com.alura:forum:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.4.RELEASE from/to releases (https://www-bin.prevnet/content/groups/public-releases): www-bin.prevnet and 'parent.relativePath' points at no local POM @ line 5, column 10: Unknown host www-bin.prevnet -> [Help 2] org.apache.maven.model.resolution.UnresolvableModelException: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.4.RELEASE from/to releases (https://www-bin.prevnet/content/groups/public-releases): www-bin.prevnet at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:196) ... Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.4.RELEASE from/to releases (https://www-bin.prevnet/content/groups/public-releases): www-bin.prevnet ... Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.4.RELEASE from/to releases (https://www-bin.prevnet/content/groups/public-releases): www-bin.prevnet ... Caused by: java.net.UnknownHostException: www-bin.prevnet

Como resolvo esse problema !?

1 resposta

Oi Alexandre,

Foi problema do Maven ai baixar as dependencias do projeto na internet.

Pela mensagem de erro parece que voce esta utilizando algum proxy na sua internet e ele esta barrando o download, pois o Maven esta tentando baixar desse endereco: www-bin.prevnet

Dar uma verificada nisso.