Ainda não tem acesso? Estude com a gente! Matricule-se
Ainda não tem acesso? Estude com a gente! Matricule-se

***ERROR*** Could not install JavaServer Faces

Boa tarde

Estou com erro abaixo quando vou instalar o faces-setup

SUCCESS Project named 'dicc' has been created. [dicc]$ faces-setup --facesVersion 2.2 ERROR Project 'C:\Users\anap.sousa\workspace\dicc' has errors ERROR 1 problem was encountered while building the effective model for br. com.dicc:dicc:1.0.0-SNAPSHOT [ERROR] Non-resolvable import POM: Failed to resolve POM for org.jboss.spec:jbos s-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 o f 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 19, column 19

ERROR Could not install JavaServer Faces.

2 respostas

Oi Ana, esse erro parece mais do maven em si... eu executaria um mvn clean e depois mvn eclipse:eclipse de novo. Antes de executar o comando do eclipse, eu limparia a pasta .m2 da sua pasta de usuários.

Boa tarde

Desculpe-me a ignorância, mas como eu executo os seguintes comandos, pelo forge, cmd?

  • mvn clean
  • mvn eclipse:eclipse