Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problems with cocoon  RSS feed

raul tebar
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I need some help,
After installing cocoon I've tried to run the Cocoon.xml example, but
it reports me this error (see error.txt at end).
Can anybody help me out with this so I can progress with the installation,
many thanks in advance.
Raul Tebar
error.txt -------------------
Publishing Engine could not be initialized.
java.lang.RuntimeException: Error creating org.apache.cocoon.processor.xsp.XSPProcessor: make sure the needed classes can be found in the classpath (org/apache/turbine/services/resources/TurbineResourceService)
at org.apache.cocoon.framework.Manager.create(
at org.apache.cocoon.framework.Router.init(
at org.apache.cocoon.framework.Manager.create(
at org.apache.cocoon.Engine.<init>(
at org.apache.cocoon.Engine.getInstance(
at org.apache.cocoon.Cocoon.init(
at org.apache.tomcat.core.ServletWrapper.doInit(
at org.apache.tomcat.core.Handler.init(
at org.apache.tomcat.core.ServletWrapper.init(
at org.apache.tomcat.core.Handler.service(
at org.apache.tomcat.core.ServletWrapper.service(
at org.apache.tomcat.core.ContextManager.internalService(
at org.apache.tomcat.core.ContextManager.service(
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(
at org.apache.tomcat.service.TcpWorkerThread.runIt(
at org.apache.tomcat.util.ThreadPool$

Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to play hard with the classpath. Make sure xerces/xalan that came with Cocoon are before any other xml parsers. You can rename jar files etc.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!