title: How to configure annotations processing in IntelliJ IDEA 14 for current project work?
body: <p>The structure of the project is:</p>
  
  <ul>
  <li>Parent project
  
  <ul>
  <li>A project (Spring) have dependency of project B in pom.xml</li>
  <li>B project (Spring MVC) have dependency of project A in pom.xml</li>
  </ul></li>
  </ul>
  
  <p>After launching project B in Tomcat 7, I have an error:</p>
  
  <blockquote>
    <p>Error:java: Annotation processing is not supported for module cycles.
    Please ensure that all modules from cycle [A,B] are excluded from
    annotation processing</p>
  </blockquote>
  
  <p>How do I avoid this problem?</p>
  
  <p>I use Java 8, Tomcat 7 and Intellij Idea 14.</p>