How to do web design with wildfly 16?

Asked

Viewed 50 times

0

I can’t see a HTML File, Webcontent, from file testing through the link (localhost:8080/Loucademia/teste.html), gives error(404); which means that I am not able to access it through the browser. My application server is Wildfly version 16.0.0 and is already with datasource for Mysql and with driver for Mysql. There are some errors in the console that I cannot resolve, referring to JBOSS and HIBERNATE. I am using JPA as well, and JSF.

I created this class in src:


import javax.enterprise.context.ApplicationScoped;
import javax.faces.annotation.FacesConfig;
import javax.faces.annotation.FacesConfig.Version;

@FacesConfig( version = Version.JSF_2_3)
@ApplicationScoped
public class Config {

}

Console errors when restarting the server:


Erros parte I

Erros parte 2

Erros parte 3

Help me, you guys.

1 answer

0


I resolved!

I created a Datasource wrong. Instead of putting the user and password of the Mysql connection, I put Wildfly user and pass. Putz!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.