The cause of this is that there is an old version of ant somewhere in the class path or configuration.
A version of this problem happens with jars that are in the classpath that include an embedded copy of ant classes. An example of this is some copies of weblogic.jar.
One can check if this is the case by doing (on unix/sh):
unset CLASSPATH
ant -version
댓글 없음:
댓글 쓰기