A cycle has been detected in the construction path of the & hellip; eclipse


Just started using eclipse and I am getting the following error : A cycle was detected in the build path of project . The cycle consists of projects {x,y}.

How can i fix this? I have not done anything different, was trying to add maven dependencies when the error popped up. Have removed the decency but it still shows. Have tried to clean/build in maven, clean and restart my eclipse.

Any suggestions? been spending hours trying to fix this

Move code. It's your only option. You need to identify code in x that depends on y or code in y that depends on x. If you can move the code to the other project, that might fix the problem. Otherwise, you may need to move code to a new project. I've had to do both.