Tem um projeto no eclipse. Para gerar o war, clico no menu Export, Escolho a opção Web, clico em WAR File.
Clico em Next, Escolho o projeto e depois escolho em qual pasta vai gerar o WAR.
Entrei no administrador do servidor wildfly. fui na aba deployments. Escolhi o WAR gerado e mandei importar. Depois de um tempo ele mostra esta mensagem de erro.
Cannot upload deployment: {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"des-if-web.war#desif\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"des-if-web.war#desif\": 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"},"WFLYCTL0412: Required services that are not installed:" => ["jboss.persistenceunit.\"des-if-web.war#desif\""],"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}
Esta também
Name: Unique identifier of the deployment. Must be unique across all deployments. Runtime Name: Name by which the deployment should be known within a server's runtime. This would be equivalent to the file name of a deployment file, and would form the basis for such things as default Java Enterprise Edition application and module names. This would typically be the same as 'name', but in some cases users may wish to have two deployments with the same 'runtime-name' (e.g. two versions of 'foo.war') both available in the deployment content repository, in which case the deployments would need to have distinct 'name' values but would have the same 'runtime-name'.
Desenvolvimento é wildlfy 8.0
Homologação é 10.0
O que pode ser ?