cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Weired compilation
Date Fri, 04 May 2001 16:02:00 GMT

Hi people

I've encountered weired compilation errors and am not able to locate the
problem. Does anybody else had this?

I've made a fresh checkout, checked the ext dir and so on but cannot
find why javac isn't able to find those methods. And yes they are in the
normal logkit.jar :( I also tried to use a newly compiled one from the
jakarta-avalon-logkit repository :((

compile:
Copying 12 files to
/usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/classes
Compiling 225 source files to
/usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/classes
/usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/src/org/apache/cocoon/servlet/CocoonServlet.java:49:
Class org.apache.log.output.ServletOutputLogTarget not found in import.
import org.apache.log.output.ServletOutputLogTarget;
       ^
/usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/src/org/apache/cocoon/components/pipeline/CachingStreamPipeline.java:169:
Method isDebugEnabled() not found in class org.apache.log.Logger.
                        if (getLogger().isDebugEnabled() == true) {
                                                      ^
/usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/src/org/apache/cocoon/components/pipeline/CachingStreamPipeline.java:286:
Method isDebugEnabled() not found in class org.apache.log.Logger.
                            if (getLogger().isDebugEnabled() == true) {
                                                          ^
/usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/src/org/apache/cocoon/components/pipeline/CachingEventPipeline.java:154:
Method isDebugEnabled() not found in class org.apache.log.Logger.
                        if (getLogger().isDebugEnabled() == true) {
                                                      ^
/usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/src/org/apache/cocoon/Main.java:158:
Method getPriorityForName(java.lang.String) not found in interface
org.apache.log.Priority.
            final Priority priority =
Priority.getPriorityForName(logLevel);
                                                                 ^
/usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/src/org/apache/cocoon/Main.java:159:
Incompatible type for method. Can't convert org.apache.log.Priority to
org.apache.log.Priority.Enum.
            LogKit.setGlobalPriority(priority);
                                     ^
/usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/src/org/apache/cocoon/Main.java:161:
Method setPriority(org.apache.log.Priority) not found in class
org.apache.log.Logger.
            log.setPriority(priority);
                           ^
TIA

Giacomo


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


Mime
View raw message