1 Reply Latest reply on Feb 13, 2019 12:32 PM by Nicolas Alvargonzalez

    Error when deploy war in EAP 7.1

    Sergio Torres Martínez Newbie



      I'm new in JBoss and I have an issue.


      I have an error when I try to deploy a .war in JBoss EAP 7.1


      The same .war works fine in old version (JBoss 4.0.5)


      I get the following errors:


      {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"Concufra.war\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"Concufra.war\"

          Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class org.apache.struts.action.ActionServlet with ClassLoader ModuleClassLoader for Module \"deployment.Concufra.war\" from Service Module Loader

          Caused by: java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter

          Caused by: java.lang.ClassNotFoundException: org.apache.commons.beanutils.Converter from [Module \"deployment.Concufra.war\" from Service Module Loader]"}}


      I've searched in Google and in many links say that the problem is related about the dependencies and the jars of beanutils.


      However, I've tried to modify the MANIFEST.MF file and add into WEB-INF/lib the .jar of beanutils but it hasn't worked.


      Could you help me?




        • 1. Re: Error when deploy war in EAP 7.1
          Nicolas Alvargonzalez Newbie

          Hi there Sergio!


          I hope you got your app already running on the latest JBoss, but in any case, your issue won't be fixed without upgrading your application to a modern Java EE structure. I recommend you to convert your app to Maven, you will have to move around some folders to match the standard, and let Maven do all the dependency management as manually updating MANIFEST is not recommended, and at least in your case is not the only thing you need to update for sure.


          Happy to follow up with any questions if you have them!


          Best regards,

          Nicolas Alvargonzalez