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 withClassLoader
s. 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.– Victor Stafusa
I think that that question can only help you
– Denis Rudnei de Souza
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
– usuario