cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Steinborn <s...@gmx.de>
Subject [C2] Problems build Cocoon with Php
Date Mon, 09 Apr 2001 11:17:37 GMT
Hi cocoon-dev,

I try to build cocoon2 with php support, but I get some nice error 
messages:

compile:     
[javac] Compiling 1 source file to 
/home/spdj/xml-cocoon/build/cocoon/classes     
[javac] 
/home/spdj/xml-cocoon/build/cocoon/src/org/apache/cocoon/generation/PhpGenerator.java:81:

No method matching getLogger() found in class 
org.apache.cocoon.generation.PhpGenerator.     
[javac]                 getLogger().debug("PhpGenerator.write()", 
e);     
[javac]                          ^     
[javac] 
/home/spdj/xml-cocoon/build/cocoon/src/org/apache/cocoon/generation/PhpGenerator.java:94:

No method matching getLogger() found in class 
org.apache.cocoon.generation.PhpGenerator.     
[javac]                 getLogger().error("PhpGenerator.run()", e); 
[javac]                          ^     
[javac] 
/home/spdj/xml-cocoon/build/cocoon/src/org/apache/cocoon/generation/PhpGenerator.java:101:

No method matching getLogger() found in class 
org.apache.cocoon.generation.PhpGenerator.     
[javac]                 
getLogger().error("PhpGenerator.run():SHOULD NEVER HAPPEN", e);     
[javac]                          ^     
[javac] 
/home/spdj/xml-cocoon/build/cocoon/src/org/apache/cocoon/generation/PhpGenerator.java:126:

Incompatible type for constructor. Explicit cast needed to convert 
org.apache.cocoon.environment.Context to 
javax.servlet.ServletContext.     
[javac]             php.init(new config(context));     
[javac]                                 ^     
[javac] 
/home/spdj/xml-cocoon/build/cocoon/src/org/apache/cocoon/generation/PhpGenerator.java:129:

Incompatible type for method. Explicit cast needed to convert 
org.apache.cocoon.environment.Request to 
javax.servlet.http.HttpServletRequest.     
[javac]             php.setRequest(request);     
[javac]                            ^     
[javac] 
/home/spdj/xml-cocoon/build/cocoon/src/org/apache/cocoon/generation/PhpGenerator.java:130:

Incompatible type for method. Explicit cast needed to convert 
org.apache.cocoon.environment.Response to 
javax.servlet.http.HttpServletResponse.     
[javac]             php.setResponse(response);     
[javac]                             ^     
[javac] 
/home/spdj/xml-cocoon/build/cocoon/src/org/apache/cocoon/generation/PhpGenerator.java:134:

Method getComponent(java.lang.String) not found in interface 
org.apache.avalon.ComponentManager.     
[javac]             Parser 
parser=(Parser)this.manager.getComponent("org.apache.cocoon.components.parser.Parser"); 
[javac]                                                           ^ 
[javac] 7 errors  
BUILD FAILED


Thanks for your help.

Jens
-- 
-\*SPDJ*/-

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


Mime
View raw message