This topic has been archived. It cannot be replied.
-
工作学习 / 专业技术讨论 / Eclipse "cross-reference" problem
-xiaoxiaom(xiaoxiao);
2006-6-15
{1156}
(#3030610@0)
-
ide issueI think it's a ide issue.
If those two classes are simple beans, try to comment out the reference and compile one class at a time. The uncomment.
If you have very complex class(es), you could try to use ant (or command line) to compile both projects and jar it. Then remove project dependencies in eclise, just include the jar. After two projects have no errors, remove the jar and add the dependency. If it still does not work, try another ide.
-lindowris(昵称);
2006-6-16
{449}
(#3032955@0)
-
Normally I prefer clearly defining the dependent hierarchy of packages/projects. If 2 classes from 2 packages reference each other, I put them into the same package.
-benbenli(大岭);
2006-6-18
(#3034079@0)
-
你两个project相互依赖,任何一个project的build依赖另一个project的class,所以你无论先build哪个,都有麻烦。eclipse搞不定了,就算eclipse能搞定,也是非常差的design。
-maplew2008(call me at 911);
2006-6-18
(#3034146@0)