cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schmitz, Jeffrey A" <>
Subject RE: Custom Transformer
Date Thu, 01 Mar 2007 19:17:13 GMT
Here's what I did to try and run my transformer:

I built and installed my transformer jar into ...\tomcat\common\lib, updated my sitemaps and
invoked the transformer using my web browser.  When I invoke it, I get the undefined class
error returned from Tomcat as follows (i.e. this shows up in my web browser):

Exception report

description The server encountered an internal error () that prevented it from fulfilling
this request.


javax.servlet.ServletException: Servlet execution threw an exception

root cause

java.lang.NoClassDefFoundError: org/apache/cocoon/caching/CacheableProcessingComponent
	java.lang.ClassLoader.defineClass1(Native Method) ...

I did try using quotation marks to set JAVA_HOME, but the build script still doesn't like
it.  I still get the following error back from the "build" command:

Files\Java\jdk1.5.0_07"" was unexpected


-----Original Message-----
From: Grzegorz Kossakowski [] 
Sent: Thursday, March 01, 2007 1:07 PM
Subject: Re: Custom Transformer

Schmitz, Jeffrey A napisaƂ(a):
> I think it's pretty close (see below), but I'm getting the following exception when running
from Tomcat:
> java.lang.NoClassDefFoundError: 
> org/apache/cocoon/caching/CacheableProcessingComponent
> I was going to build and install the latest from Cocoon but I can't because the build
script doesn't work since my JAVA_HOME variable includes a space (C:\Program files...).
> So... How can I get the latest Cocoon stuff built and/or where can I get the missing
class/jar from?
 From description above I do not understand completely what you have done leading to this

What can I advice to you is enclosing JAVA_HOME path in quotation marks, so it should be like
JAVA_HOME="C:\Program files\..."

doing this always solve my problems related to spaces in paths

Grzegorz Kossakowski

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message