小弟我的Eclipse报This compliation unit is not on the build path of a java projet 怎么处理

我的Eclipse报This compliation unit is not on the build path of a java projet 怎么办
我的用的是Eclipse+ant +Tomcat 
工程是用SVN下的,怎么报这个错误。在哪里设?

------解决方案--------------------
看下工程根目录下面的.project和.classpath两个文件,可能要做适当的修改