ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Error: Could not create datatype of type: path due to java.lang.NoSuchMethodException
Date Tue, 21 May 2002 06:34:17 GMT
On Mon, 20 May 2002, Zsolt Koppany <zkoppany@web.de> wrote:

> I have written a class that uses the API of ant-1.4.1 that I start
> from tomcat-4.0.3. Actualy it works pretty good but when I have a
> "<path..."  instruction in the build file I get an exception like
> below:
> 
> Could not create datatype of type: path due to
> java.lang.NoSuchMethodException
> 
> When I start "ant" from a console I don't get this problem. How can
> I fix the problem?

Looks as if you had some old version of Ant in the CLASSPATH that gets
picked up by Tomcat but not when running from the command line.  Make
sure there is no ant.jar on your system that you don't know about.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message