java.lang.NoSuchMethodError:
org.apache.tools.ant.util.FileUtils.getFileUtils()L
org/apache/tools/ant/util/FileUtils;
was thrown when i use <fileset> even the simple build.xml below:
<project name="tmp" default="cp">
<target name="init">
<delete dir="test1"/>
<delete dir="test2"/>
<mkdir dir="test1"/>
<mkdir dir="test2"/>
</target>
<target name="cp" depends="init">
<copy todir="test2">
<fileset dir="test1">
</fileset>
</copy>
</target>
</project>
Can anyone tell me Y???
Lothar Kimmeringer - 06 Feb 2007 18:06 GMT
> java.lang.NoSuchMethodError:
> org.apache.tools.ant.util.FileUtils.getFileUtils()L
> org/apache/tools/ant/util/FileUtils;
> was thrown when i use <fileset> even the simple build.xml below:
How do you call the ant-script? Inside an IDE, directly, within
a script, ...?
Regards, Lothar

Signature
Lothar Kimmeringer E-Mail: spamfang@kimmeringer.de
PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)
Always remember: The answer is forty-two, there can only be wrong
questions!
Arne Vajhøj - 10 Feb 2007 18:35 GMT
> java.lang.NoSuchMethodError:
> org.apache.tools.ant.util.FileUtils.getFileUtils()L
> org/apache/tools/ant/util/FileUtils;
> was thrown when i use <fileset> even the simple build.xml below:
Sounds like running in a too old JVM to me.
Arne