Bwolen Yang wrote:

During unit test, I get
    [junit] Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.tools.ant.util.FileUtils.close(Ljava/io/OutputStream;)V

I've never seen this.  What JDK?  What OS?  What version of Hadoop?

removing
  hadoop-trunk/lib/jetty-ext/ant.jar
seems to have fixed this error.   I am not even sure how the above got
used since it doesn't appear in the classpath when I run "ant -v".

Out of curiosity, why is there a special ant.jar?

It appears to be required by Jetty.

Doug

Reply via email to