Problem with Hibernate and Wildfly server

Asked

Viewed 89 times

0

Hello.

I have a project with Hibernate 4.3.x + Postgresql + Wildfly. But I can’t run it.

Follow the error:

Iniciando WildFly Application Server
WildFly Application Server iniciado
Implantação inicial de WebApplication1 até C:\wildfly-11.0.0.Beta1\standalone\deployments\WebApplication1.war
Distribuição inicial do WebApplication1 completada
Implantando C:\wildfly-11.0.0.Beta1\standalone\deployments\WebApplication1.war
"{\"WFLYCTL0080: Failed services\" => {\"jboss.persistenceunit.\\\"WebApplication1.war#ConfeccaoPU\\\"\" => \"java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
    Caused by: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory\"}}"
C:\Projects\WebApplication1\nbproject\build-impl.xml:1074: O módulo não foi implantado.

Does anyone know how I can fix this?

  • org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory - Does this imply that you have a problem with ClassLoaders. This problem tends to be something complex and nothing obvious, but without seeing your code there is no way to know where the error is.

  • I think that that question can only help you

  • This error appeared when I tried to open the project on another computer. I use Netbeans and vi in Google to add dependencies to the Maven pom.xml file but I don’t use Maven

No answers

Browser other questions tagged

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