`

A cycle was detected in the build path of project

    博客分类:
  • J2SE
 
阅读更多

Build Path Errors [A cycle was detected in the build path of project]

http://www.ibm.com/developerworks/forums/thread.jspa?messageID=13931482

Build Path Errors & Cycle Detected in Build Path of Projects.

Q:
Dear All,

Am working with migration of our application from WebSphere 4.0 to WebSphere 6.0 using Rational Application Developer(RAD) 6.0.

I have multiple folders(Java Projects,EJB Projects, Web Projects etc...) in my RAD workspace,the code is completely error free,but still am facing below errors in the problem view of RAD.

1) A cycle was detected in the build path of project: Folder Name
2) The project cannot be built until build path errors are resolved:(Folder Name)

Please help me how can I overcome this issue, to proceed further.

Regards,
BharathB.


A:
I had a similar problem under eclipse, where some of the classes were common ie both the Ejb project and the web project needed them and I had to add each one as required by the other. That caused the cycle condition. I got around by changing the Compiler build path option to warning rather than error

Regards
Jay Mitra

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics