I am trying to deploy an application in jBoss and I\'m getting this issue. I am trying to deploy a jar and I\'m getting the issue.
Attached complete log:
<
For future searchers: kolossus is right, as I found out. A quick search showed that I had copied my EAR file to two different folders (./deploy and ./deploy/comp/prod/). Deleting the unintended copy fixed the problem.
You might need to check file with same name not exists in below locations 1. /standalone/deployments 2. //deployments
I think this problem happened when I was manually deploying, while also using the Eclipse deployment tool. I found I lost the ability to launch the server, which means I could not access the admin console.
<myJBossDirectory>\standalone\configuration
<deployments><deployment></deployment></deployments>
(This should erase all of the deployments you may have done manually)Edit file /standalone/configuration/standalone.xml.
Search for deployment-scanner and remove duplicate entries to the same folder.
I experienced this problem when I a added wildfly 8.1 server in eclipse using jbosstools.
Remove all ear/war from jboss-eap-6.4\standalone\deployments folder
I ran into a similar issue, it turned out that I had a version deployed using the admin console. When I removed it from there, the duplication error went away.