Eclipse在构建时给出了以下错误:
A cycle was detected in the build path of project 'com.X'. The cycle consists of projects {com.Y, com.Y}
A cycle was detected in the build path of project 'com.Y'. The cycle consists of projects {com.X, com.Y}
但是,maven在命令行中使用“mvn clean install”构建完全正常,并且手动检查POM表明com.X依赖于com.Y但是com.Y不依赖于com.X。
知道可能导致这种情况的原因吗?
答案 0 :(得分:0)