1 Reply Latest reply on Sep 17, 2008 3:33 PM by Ivan Pazmino

    ERROR [MainDeployer] Could not initialise deployment

    Ivan Pazmino Newbie

      Hi,

      I created a seam project in eclipse, added an entity bean, a session bean and two view xhtml files, but never touched any of the xml files created by default.

      I started the server and got the following error:

      ERROR [MainDeployer] Could not initialise deployment: file:/D:/java/jboss-4.2.3.GA/server/testingField/deploy/e-seamTest-ear.ear/
      org.jboss.deployment.DeploymentException: url file:/D:/java/jboss-4.2.3.GA/server/testingField/deploy/e-seamTest-ear.ear/jboss-seam.jar could not be opened, does it exist?


      I've checked the application.xml file and it does have the entrance mentioned in the complaint from the server

      <module>
       <ejb>jboss-seam.jar</ejb>
       </module>


      should this jar be included in the generated ear? Anyway, I can't find it in my seam folder. Where should it be? How do I prevent the plugging to do it again?

      Thanks in advance.