2
respostas

Could not install CDI

Não estou conseguindo habilitar o CDI no meu projeto, estou acompanhando a apostila JAVAEE da casa do código. Será que é porque o proxy bloqueia? O JSF foi instalado sem problemas.

2 respostas

Oi Gilvani

O que você está tentando fazer, tem mais detalhes?

Estou usando o comando CDI-setup --cdi-version 1.1 no forge. Daí, ocorre o seguinte erro:

[casadocodigo]$ cdi-setup --cdi-version 1.1 ERROR Project 'C:\Users\p017221\casadocodigo' has errors ERROR 1 problem was encountered while building the effective model for org.casadocodigo:casadocodigo:1.0.0-SNAPSHOT [ERROR] Non-resolvable import POM: Failed to resolve POM for org.jboss.spec:jboss-javaee-6.0:3.0.3.Final due to Failure to transfer org.jboss.spec:jboss-javaee-6.0:pom:3.0.3.Final 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.jboss.spec:jboss-javaee-6.0:pom:3.0.3.Final from/to central (https://repo.maven.apache.org/maven2): Error transferring file: Connection timed out: connect from https://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.3.Final/jboss-javaee-6.0-3.0.3.Final.pom @ line 40, column 19

ERROR Could not install CDI.