How to configure annotations processing in IntelliJ IDEA 14 for current project work?
intellij-idea, java, maven, spring, spring-mvc
Solution
To solve these kind of problems need to use Analyze Module dependencies in InteliJ-idea.
File Menu > Analyze > Module Dependencies
This shows the list of all projects which have cyclic dependencies and should be resolved first.
This feature helps you to find the problem.
EDIT – For the latest version, it is Analyze -> Analyze Module Dependencies..
Problem
The structure of the project is: - Parent project - A project (Spring) have dependency of project B in pom.xml - B project (Spring MVC) have dependency of project A in pom.xml After launching project B in Tomcat 7, I have an error: Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [A,B] are excluded from annotation processing How do I avoid this problem? I use Java 8, Tomcat 7 and Intellij Idea 14.