Error in configuring the environment

1

I'm using JPA with JAVA, with Wildfly and Primefaces and the bank I'm using Mysql.

I have all the layers already configured (view (xhtml), DAO, Entity, MB). The wildfly datasouce is set up correctly, maintaining communication with the bank 100%.

When I run the project, it says "404 - Not Found" and apparently the console does not display anything abnormal. I think it is an error in the environment configuration but I am not able to identify it.

I do not know what the JSF version is, I am new to programming here. Here's my web.xml:

This is my last log line when I try to run:

  

WFLYCTL0184: New missing / unsatisfied dependencies:         service jboss.naming.context.java.jboss.datasources.ExampleDS (missing) dependents: [service jboss.naming.context.java.module.solicitation.Application.Application.DefaultDataSource]

    
asked by anonymous 11.08.2016 / 14:57

1 answer

0

Pedro

  • What JSF version are you using?
  • Could you share the configuration of your web.xml ?
  • See if no error is appearing in the application logs as your application might be experiencing conflict of libraries with Wildfly .

The error could still be related to configuring the context of your application in the web.xml file and may still be associated with the directory structure you are using in the application.

Access and configuration example

http://localhost:8080/NomeProjeto/index.xhtml

Project directory structure in your IDE

NomeProjeto
 |-- Java Resources
 |    '-- src
 |         '-- br.com.app.controle
 |              '-- MyBean.java
 |-- resources
 |-- JavaScript Resources
 |-- build
 '-- WebContent
      |-- META-INF
      |-- WEB-INF
      |    |-- faces-config.xml
      |    '-- web.xml
      |-- index.xhtml
      '-- pagina.xhtml
    
11.08.2016 / 15:45