You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Brian McGovern <bm...@imediainc.com> on 2004/11/11 18:13:12 UTC

RE: Exception in thread "main" java.lang.NoClassDefFoundError: Lo ader

Yes redhat enterprise.  

But the article you provided was about building the platform, not starting
it.  I may have missed something.

My ant is located in /usr/bin/ and version is Apache Ant version 1.5.2-20 

Thanks
-----Original Message-----
From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de]
Sent: Thursday, November 11, 2004 11:49 AM
To: users@cocoon.apache.org
Subject: Re: Exception in thread "main" java.lang.NoClassDefFoundError:
Loader


RedHat/Fedora? This OS lets jump in its own Ant which breaks Cocoon's 
Ant. Some days ago I read the Cocoon scripts themselves load this Ant by 
loading an ant.conf from the wrong place:

http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=109968742807688&w=4

You probably just have to remove this part of your script.

Another possiblity is to remove the Fedora Ant.

Joerg

On 11.11.2004 17:44, Brian McGovern wrote:

> Im very new to cocoon. and im trying to start it via ./cocoon.sh servlet
and
> get the following error
> 	Exception in thread "main" java.lang.NoClassDefFoundError: Loader
> 
> My Env is 
> 	jakarta-tomcat-5.0.28 
>  	cocoon-2.1.5.1
> 	j2sdk1.4.2_05
> 
> Can anyone help.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org

Re: Exception in thread "main" java.lang.NoClassDefFoundError: Lo ader

Posted by Ralph Goers <Ra...@dslextreme.com>.
I've seen various techniques posted on how to fix this.  The one I used 
was to uninstall the ant that comes with RedHat.  I then downloaded the 
current version from ant.apache.org and installed it.

Ralph

Brian McGovern wrote:

> Yes redhat enterprise. 
>
> But the article you provided was about building the platform, not 
> starting it.  I may have missed something.
>
> My ant is located in /usr/bin/ and version is Apache Ant version 1.5.2-20
>
> Thanks
> -----Original Message-----
> From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de]
> Sent: Thursday, November 11, 2004 11:49 AM
> To: users@cocoon.apache.org
> Subject: Re: Exception in thread "main" java.lang.NoClassDefFoundError:
> Loader
>
>
> RedHat/Fedora? This OS lets jump in its own Ant which breaks Cocoon's
> Ant. Some days ago I read the Cocoon scripts themselves load this Ant by
> loading an ant.conf from the wrong place:
>
> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=109968742807688&w=4 
> <http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=109968742807688&w=4>
>
> You probably just have to remove this part of your script.
>
> Another possiblity is to remove the Fedora Ant.
>
> Joerg
>
> On 11.11.2004 17:44, Brian McGovern wrote:
>
> > Im very new to cocoon. and im trying to start it via ./cocoon.sh 
> servlet and
> > get the following error
> >       Exception in thread "main" java.lang.NoClassDefFoundError: Loader
> >
> > My Env is
> >       jakarta-tomcat-5.0.28
> >       cocoon-2.1.5.1
> >       j2sdk1.4.2_05
> >
> > Can anyone help.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org