Pack failed duplicate entry -create WAR
I'm trying to create a Nuxeo Static WAR, i'm following this link, but i'm getting this error : java.util.zip.ZipException: duplicate entry: webapps/nuxeo/WEB-INF/lib/nuxeo-core-storage-sql-extensions-7.3.jar , any suggestion how to get rid of this error ?
Update
Here are the error that i get when launching cmd : “nuxeoctl pack /tmp/nuxeo-war.zip”, and the configuration that i get when executing “nuxeoctl showconf”
You can workaround the issue by removing ./nxserver/bundles/nuxeo-core-storage-sql-extensions-7.3.jar
. The file is already in ./nxserver/lib
and is not a “Nuxeo bundle” but a simple Nuxeo library.
I'm not sure to understand:
- did the
./bin/nuxeoctl pack ...
command succeed, generating a WAR? - do you have an issue with using that WAR? It must then be deployed in a Tomcat as explained in ADMINDOC/How+to+Create+a+Nuxeo+Static+WAR
- it is not clear to me if you're under Linux or Windows…
So, you're using Nuxeo 7.3, right?
Could you provide a few more details about your environment and some outputs, including the output of
nuxeoctl showconf
?Are there some informations in the log files?
I could not reproduce the error, do you have reproduction steps?
Thanks,
I could reproduce the issue and will create the related JIRA ticket.