You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alexandre Victoor <av...@prisma-presse.com> on 2001/09/28 10:32:43 UTC

Xalan inside Cocoon, help me !!!

Hello,
I am using Cocoon 1.8 . In the web site I am working on, I need to send in 
a  mail html pages, resulting from a xsl transformation. I would like to 
use xalan to do this. Unfortunately Cocoon 1.8  works with Xalan 1_2_D2 
which is not anymore available on the apache website. I would appreciate if 
someone could send me the javadoc ( or give me a better solution :) )
Thanks and have a good week-end.

Alex




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Error in Building Cocoon-2.0rc1a

Posted by Ming Fai <mi...@hongkong.com>.
I've just downloaded the .zip release of Cocoon-2.0rc1a. When I try build
it, there are some errors. However, I can successfully build the .gz
release. Therefore, I think there are some problems with the .zip release.
Could somebody please check this out? The compile error message is at the
bottom of this message.

For the rc1 build, it can run on Tomcat 4.0 but not Tomcat 3.2.x. The error
message is as follows:
Besides, I got the following error when I run Cocoon:
org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap: Line 69, column 29: '}' expected. Line 0, column 0: no more
tokens - could not parse error message

What's wrong with it?

regards,
mingfai




   [javac] error: File
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\or
\apache\cocoon\environment\Response.java does not contain type
org.apache.cocoo
.environment.Response as expected. Please adjust the class path so that the
fil
 does not appear in the package org\apache\cocoon\environment.
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\acting\HttpHeaderAction.java:16: Class
org.apache.cocoon.environment.Respons
 not found in import.
   [javac] import org.apache.cocoon.environment.Response;
   [javac]        ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\acting\LangSelect.java:19: Class org.apache.cocoon.environment.Response
not
ound in import.
   [javac] import org.apache.cocoon.environment.Response;
   [javac]        ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\acting\LocaleAction.java:18: Class org.apache.cocoon.environment.Response
no
 found in import.
   [javac] import org.apache.cocoon.environment.Response;
   [javac]        ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\components\language\markup\xsp\XSPCookieHelper.java:45: Class
org.apache.coc
on.environment.Response not found in import.
   [javac] import org.apache.cocoon.environment.Response;
   [javac]        ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\generation\ServletGenerator.java:16: Class
org.apache.cocoon.environment.Res
onse not found in import.
   [javac] import org.apache.cocoon.environment.Response;
   [javac]        ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\components\language\markup\xsp\XSPResponseHelper.java:11: Class
org.apache.c
coon.environment.Response not found in import.
   [javac] import org.apache.cocoon.environment.Response;
   [javac]        ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\environment\commandline\CommandLineResponse.java:12: Class
org.apache.cocoon
environment.Response not found in import.
   [javac] import org.apache.cocoon.environment.Response;
   [javac]        ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\environment\commandline\CommandLineResponse.java:23: Interface
org.apache.co
oon.environment.Response of class
org.apache.cocoon.environment.commandline.Com
andLineResponse not found.
   [javac] public class CommandLineResponse implements Response {
   [javac]                                             ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\environment\http\HttpResponse.java:11: Class
org.apache.cocoon.environment.R
sponse not found in import.
   [javac] import org.apache.cocoon.environment.Response;
   [javac]        ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\environment\http\HttpResponse.java:26: Interface
org.apache.cocoon.environme
t.Response of class org.apache.cocoon.environment.http.HttpResponse not
found.
   [javac] public class HttpResponse implements Response {
   [javac]                                      ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\reading\DatabaseReader.java:30: Class
org.apache.cocoon.environment.Response
not found in import.
   [javac] import org.apache.cocoon.environment.Response;
   [javac]        ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\reading\ResourceReader.java:20: Class
org.apache.cocoon.environment.Response
not found in import.
   [javac] import org.apache.cocoon.environment.Response;
   [javac]        ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\selection\helpers\CodedSelectorHelper.java:13: Class
org.apache.cocoon.envir
nment.Response not found in import.
   [javac] import org.apache.cocoon.environment.Response;
   [javac]        ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\environment\commandline\FileSavingEnvironment.java:40: Incompatible type
for
method. Can't convert
org.apache.cocoon.environment.commandline.CommandLineResp
nse to java.lang.Object.
   [javac]         this.objectModel.put(Constants.RESPONSE_OBJECT, new
CommandL
neResponse());
   [javac]                                                         ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\environment\commandline\LinkSamplingEnvironment.java:44: Incompatible
type f
r method. Can't convert
org.apache.cocoon.environment.commandline.CommandLineRe
ponse to java.lang.Object.
   [javac]         this.objectModel.put(Constants.RESPONSE_OBJECT, new
CommandL
neResponse());
   [javac]                                                         ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\environment\http\HttpEnvironment.java:63: Incompatible type for method.
Can'
 convert org.apache.cocoon.environment.http.HttpResponse to
java.lang.Object.
   [javac]         this.objectModel.put(Constants.RESPONSE_OBJECT,
this.respons
);
   [javac]                                                             ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\generation\VelocityGenerator.java:62: Class
org.apache.cocoon.environment.Re
ponse not found in void generate().
   [javac]             context.put("response", this.response);
   [javac]                        ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\sitemap\AbstractSitemap.java:406: Impossible for java.lang.Object to be
inst
nce of org.apache.cocoon.environment.http.HttpResponse.
   [javac]             if (responseObj instanceof HttpResponse) {
   [javac]                             ^
   [javac]
C:\Java\ApacheRelease\Cocoon-2.0rc1a\build\cocoon\src\org\apache\coc
on\sitemap\AbstractSitemap.java:407: Invalid cast from java.lang.Object to
org.
pache.cocoon.environment.http.HttpResponse.
   [javac]                 HttpResponse response =
(HttpResponse)responseObj;
   [javac]                                         ^
   [javac] Note: 10 files use or override a deprecated API.  Recompile with
"-d
precation" for details.
   [javac] 20 errors, 1 warning

UILD FAILED

:\Java\ApacheRelease\Cocoon-2.0rc1a\build.xml:400: Compile failed, messages
sho


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>