tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: [NEWBIE] Building Tomcat 6.0.18
Date Tue, 16 Sep 2008 04:25:21 GMT
Downgrade to JDK 1.5
then the steps to build are

ant download
ant
ant -f extras.xml
ant -f dist.xml release

builds a full release, after step 2, you have a complete tomcat build in 
output/build

Filip

Jon wrote:
> Apache Tomcat 6.0.18
> Apache Ant 1.7
> Java JDK v1.6
>
> BUILDING.txt step 2.2
> I'm trying to build Apache; when I type /ant_build or ant/ from any 
> path, the following error is displayed:
> /Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/tools/ant/launch/Launcher
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.tools.ant.launch.Launcher
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> [root@localhost apache-tomcat-6.0.18-src]# /
>
>
> -- 
> Jon Camilleri
>
> Mobile (MT): 00356 7982 7113
> E-mail: camilleri.jon@gmail.com <mailto:camilleri.jon@gmail.com>
> Please consider your environmental responsibility before printing this 
> e-mail.
>
> I usually reply to e-mails within 2 business days. If it's urgent, 
> give me a call.
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message