title: Intellij Error:Cannot build Artifact 'XXX:war exploded' because it is included into a circular dependency
body: <p>The project was working well before, but suddenly can not update war file in "target" directory.When I want to "Build Artifacts", error shows:
  <code>Error:Cannot build Artifact 'XXX:war exploded' because it is included into a circular dependency</code></p>
  
  <p>What is the wrong with this?</p>
  
  <p>the artifacts :</p>
  
  <p><a href="https://i.stack.imgur.com/Hv3Ac.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/Hv3Ac.jpg" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/vcoYB.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/vcoYB.jpg" alt="enter image description here"></a></p>