cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject [c2] still can't start cocoon
Date Thu, 08 Mar 2001 05:13:31 GMT
heya guys. i'm still getting this error when i try to access the cocoon
sample webapp:

2001-03-08 00:10:22 ERROR   12139   [cocoon  ] (Thread-6): Error compiling
sitem
ap
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap
_xmap:
Line 0, column 0:
/home/balld/src/jakarta-tomcat-4.0/build/work/localhost/cocoon
/org/apache/cocoon/www/_/home/balld/src/jakarta_tomcat_4_0/build/webapps/cocoon/
sitemap_xmap.java:21: Class javax.servlet.http.HttpServletRequest not
found in i
mport.
import javax.servlet.http.HttpServletRequest;
       ^

        at
org.apache.cocoon.components.language.programming.java.JavaLanguage.c
ompile(JavaLanguage.java:201)
        at
org.apache.cocoon.components.language.programming.CompiledProgramming
Language.load(CompiledProgrammingLanguage.java:132)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.
generateResource(ProgramGeneratorImpl.java:224)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.
load(ProgramGeneratorImpl.java:194)
        at org.apache.cocoon.sitemap.Handler.run(Handler.java:174)
        at java.lang.Thread.run(Thread.java:484)

using the latest cvs updates of cocoon2 and catalina. i've modified
cocoon's WEB-INF/web.xml file to contain the extra-classpath parameter:

    <init-param>
      <param-name>extra-classpath</param-name>

<param-value>/home/balld/src/xml-cocoon2/lib/servlet_2_2.jar</param-value>
    </init-param>

(i've also tried pointing this to the servlet.jar from the
jakarta-servletapi-4 repository as well to no avail)

any clues? any suggestions?

- donald


Mime
View raw message