JBoss5: Cannot deploy due to java.util.zip.ZipException: error in opening zip file

前端 未结 25 2700
情书的邮戳
情书的邮戳 2020-12-03 06:15

I have a web client and a EJB project, which I created with Eclipse 3.4. When I want to deploy it on Jboss 5.0.1, I receive the error below. I searched a lot but I wasn\'t a

25条回答
  •  佛祖请我去吃肉
    2020-12-03 06:22

    Ok, I finally found the solution to my problem. It seems that there's a bug in Eclipse which prevent the creation of the .settings/org.eclipse.wst.common.component file. This file should be created when setting the EJB3 and Java6 facets in project properties.

    Here is an org.eclipse.wst.common.component example file :

    
    
        
            
            
            
            
            
        
    
    

    The deploy paths must be defined in order to be able to create the EJB Jar file used by the server on deployment. Once created, Jboss publish the EJB module correctly.

提交回复
热议问题