我在eclipse3.2建立了两个项目,都导入了dom4j-1.6.1.jar的包.并且两个项目在lib目录下都有这个包,构建路径也指向了.但是用到org.dom4j.io.SAXReader这个类的方法setEncoding()时,一个项目可以正常使用,另外一个项目说这个类没有定义这个方法(错误提示:this method setEncoding(String arg) is undefined for the type SAXReader),请问是什么原因.