4 Replies Latest reply on May 4, 2010 8:13 AM by Meme Hehe

    EAR deployment problem

    Meme Hehe Newbie

      Hi,

       

      I have created a small sample EAR project which contains an EJB jar and a web client (war) for the EJB.

      On deployment I get this error:

       

      java.lang.ClassCastException: org.jboss.metadata.ear.spec.EjbModuleMetaData cannot be cast to org.jboss.metadata.ear.spec.WebModuleMetaData

       

      This is the layout of the ear file:

       

      EAR

           EJB3Test.jar

           EJB_Test_Client.war

           META-INF

                application.xml

                MANIFEST.MF

       

      The file itself is attached.

      What could be the caus of the error?

       

      Cheers,

      Matt