You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/01/12 11:41:02 UTC
DO NOT REPLY [Bug 33059] New: -
ant build fails due to a NoClassDefFoundError exception.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33059>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33059
Summary: ant build fails due to a NoClassDefFoundError exception.
Product: Ant
Version: 1.6.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: Build Process
AssignedTo: dev@ant.apache.org
ReportedBy: fredrik@devibe.net
After bootstrapping, the ant build dies with
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/launch/Launcher
This is on a RedHat box and /etc/redhat-release says "Red Hat Enterprise Linux
WS release 3 (Taroon Update 4)".
According to
http://www.jasonsimms.com/archives/2004/06/000085-apache_ant_mystery_error_solved.html
this is due to the existence of the directory /usr/share/ant and the suggested
fix is to remove / rename this directory. However, it should be possible to
install a different version of ant into a different directory without affecting
any existing installation and it is not always preferrable (or even possible) to
remove this directory.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org