Unable to WAR deployment of the same project

Unable to deployment two wars of same project with different war.

This is most probably because of same JMX names.
Either set different values for spring.jmx.default-domain property, or disable JMX altogether:

spring.jmx.enabled = false