facebook

A cycle was detected in the classpath of project

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #201991 Reply

    greggh
    Member

    We are currently getting the error indicated in the subject when building a project. We have created an Enteprise application that has a Web module and a EJB module. It would appear that this error is indicating that we have a circular reference between our modules. Is there a set procedure or functionality within the Eclipse IDE that would aid us in discovering what is causing this circular reference? Your assistance would be greatly appreciated.

    #201997 Reply

    Riyad Kalla
    Member

    greggh,
    I am not aware of any discovery mechanisms (double clicking to jump to problem). I would check the project references that your current project has, note them, then open all of those projects and see if they depend on your problomatic project to see if that is casuing the problem.

    Oddly enough, I’ve also recieved errors of circular reference from the Eclipse compiler when infact the problem was that I was missing JARs in the build path so my project wouldn’t build correctly. You can load up your project properties, and check the build patch and hit “Add JARs” to see if there were any JARs you forgot to add to the project to allow it to build correctly.

    #201999 Reply

    Marcus Beyer
    Member

    @greggh wrote:

    We are currently getting the error indicated in the subject when building a project. We have created an Enteprise application that has a Web module and a EJB module. It would appear that this error is indicating that we have a circular reference between our modules.

    Java Build Path/Projects: are they checked as “Required projects” of each other? That would cause such a circle …

    Marcus

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: A cycle was detected in the classpath of project

You must be logged in to post in the forum log in