Skip to Content

E_PACK_DUPLICATE_SRC Packaging Error

Estimated Reading Time: 1 Minutes

This error occurs during packaging when the resource ID provided for packaging conflicts with an existing resource. If you're not trying to replace an existing book, the solution would be to simply change the ID you're providing, or omit it altogether since ACS will assign one automatically.

If you are trying to replace a book, make sure that your packaging configuration file allows for replacements. Add the line provided below if it is missing, or make sure it's set to "true." Be sure to restart Tomcat (or your equivalent server software, if necessary) after any change to a configuration file.

com.adobe.adept.packaging.allowURLCollisionsOnReplace=true

After you complete the change, make sure that you're specifying that this book is supposed to be a replacement. If packaging from the command line is using the Upload Test tool, add this line to the top of your book's corresponding XML file, right after the <packaging...> element:

<action>replace</action>

If you're forming and sending the web request directly to the packaging server using your own methods, add the action attribute to the packaging element instead, like this:

<package xmlns="http://ns.adobe.com/adept" action="replace">
E_PACK_DUPLICATE_SRC Packaging Error
  • COMMENT

  • Get notified when new articles are added to the knowledge base.