Hi ,
trying to publish an ear with serveral ejb and one web project , when exporting teh web
project slone to a WAR everything is ok , browsed it and everything is ok , when trying to
publish the ear without the web project everything is ok after adding the web project to
the ear fails :
| java.util.zip.ZipException: duplicate entry:
WEB-INF/classes/com/retalix/scm/web/WFAPIProxy/WFAPIProxy.class
| at java.util.zip.ZipOutputStream.putNextEntry(Unknown Source)
| at java.util.jar.JarOutputStream.putNextEntry(Unknown Source)
| at
org.eclipse.jst.server.generic.core.internal.publishers.ModulePackager.write(ModulePackager.java:83)
| at
org.eclipse.jst.server.generic.core.internal.publishers.ModulePackager.write(ModulePackager.java:166)
| at
org.eclipse.jst.server.generic.core.internal.publishers.ModulePackager.write(ModulePackager.java:114)
| at
org.jboss.ide.eclipse.as.core.server.publishers.JstPublisher$JBossAntPublisher.doPackModule(JstPublisher.java:380)
| at
org.jboss.ide.eclipse.as.core.server.publishers.JstPublisher$JBossAntPublisher.doPackModule(JstPublisher.java:374)
| at
org.jboss.ide.eclipse.as.core.server.publishers.JstPublisher$JBossAntPublisher.doPackModule(JstPublisher.java:374)
| at
org.jboss.ide.eclipse.as.core.server.publishers.JstPublisher$JBossAntPublisher.doPackModule(JstPublisher.java:374)
| at
org.jboss.ide.eclipse.as.core.server.publishers.JstPublisher$JBossAntPublisher.doPackModule(JstPublisher.java:374)
| at
org.jboss.ide.eclipse.as.core.server.publishers.JstPublisher$JBossAntPublisher.doPackModule(JstPublisher.java:374)
| at
org.jboss.ide.eclipse.as.core.server.publishers.JstPublisher$JBossAntPublisher.doPackModule(JstPublisher.java:374)
| at
org.jboss.ide.eclipse.as.core.server.publishers.JstPublisher$JBossAntPublisher.doPackModule(JstPublisher.java:374)
| at
org.jboss.ide.eclipse.as.core.server.publishers.JstPublisher$JBossAntPublisher.packModule(JstPublisher.java:349)
| at
org.jboss.ide.eclipse.as.core.server.publishers.JstPublisher$JBossAntPublisher.assembleEar(JstPublisher.java:334)
| at
org.jboss.ide.eclipse.as.core.server.publishers.JstPublisher$JBossAntPublisher.assemble(JstPublisher.java:306)
| at
org.jboss.ide.eclipse.as.core.server.publishers.JstPublisher$JBossAntPublisher.publish(JstPublisher.java:172)
| at
org.jboss.ide.eclipse.as.core.server.publishers.JstPublisher.publishModule(JstPublisher.java:107)
| at
org.jboss.ide.eclipse.as.core.server.JBossServerBehavior.publishModule(JBossServerBehavior.java:375)
| at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:676)
| at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:756)
| at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:611)
| at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:862)
| at org.eclipse.wst.server.core.internal.Server.publish(Server.java:850)
| at
org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:142)
| at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
|
anyone has any idea ?
thanks in advance .
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109613#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...