Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoSuchMethodError : FileUtils

 
Suresh Acharya
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,

Does any body has any idea of the build error below and how to resolve it.

Thanks.


BUILD FAILED
java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.getFileUtils() Lorg/apache/tools/ant/util/FileUtils;
at org.apache.tools.ant.taskdefs.optional.dotnet.ImportTypelib.<clinit>(
ImportTypelib.java:48)
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like that for some reason, you need to include the Commons IO library on your classpath.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Christophe Verre:
Looks like that for some reason, you need to include the Commons IO library on your classpath.


Well, in fact it means that he has *the wrong version* of the library in the classpath...
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's right Ilja, I didn't pay attention to the NoSuchMethodError
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic