Google Answers Logo
View Question
 
Q: Installing Cocoon on RedHat ( No Answer,   0 Comments )
Question  
Subject: Installing Cocoon on RedHat
Category: Computers > Programming
Asked by: akane-ga
List Price: $10.00
Posted: 28 Apr 2004 08:47 PDT
Expires: 28 May 2004 08:47 PDT
Question ID: 337639
I am trying to install Apache Cocoon 2.1.4 on Redhat AS3.  I have a
jdk installed and also have Apache Ant installed.  When I run build.sh
(as per the installation instructions) I get the following:

[root@INTRAWEB-01 cocoon]# ./build.sh

Apache Cocoon Build System
--------------------------
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/launch/Launcher
[root@INTRAWEB-01 cocoon]#

Request for Question Clarification by endo-ga on 01 May 2004 07:11 PDT
Hi,

That error message means that Java cannot find a library it needs.

Have you followed these steps from the Cocoon installation?

"Cocoon requires more recent versions of the Xerces and Xalan
libraries than those shipped with j2se 1.4. To override bundled
libraries, follow these steps:

   1. Create %JAVA_HOME%\jre\lib\endorsed directory. (Tomcat users use
%TOMCAT_HOME\common\endorsed instead)
   2. Copy xercesXXX.jar, xalan-XXX.jar, and the xml-apis.jar from the
.\lib\endorsed\ to the new directory created above."

http://cocoon.apache.org/2.1/installing/index.html#Set+JAVA_HOME+environment+variable

If you have done that and it still doesn't work, please have a look
here on how to configure Ant correctly:

http://ant.apache.org/manual/install.html#installing
http://ant.apache.org/manual/install.html#librarydependencies

That error message means that something is missing from your classpath.

Thanks.
endo
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy