You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Samuel ARNOD-PRIN <sa...@smile.ch> on 2001/05/17 18:18:10 UTC

Troubles using fop 0.18.1 or even the cvs version with COCOON...

Hello,

I'm getting troubles to use FOP new versions with cocoon 1.8.2 and
tomcat 3.2.2

If I use FOP in command line, using jar files I put in tomcat/lib
(copy-paste for the tomcat "using classpath : ......" : there could be
no mistake !), It is ok... seeing FOP 0.18.1-DEV ...
If I try to get a PDF with Cocoon (the same I tested in command line), I
get that exception :

Error: 500
Location: /test/pdf/outline-fo.xml

java.lang.NoSuchMethodError: org.apache.fop.apps.Driver: method
setWriter(Ljava/io/PrintWriter;)V not found at
org.apache.cocoon.formatter.FO2PDFFormatter.format(FO2PDFFormatter.java:135)
at org.apache.cocoon.Engine.handle(Engine.java:401)
at org.apache.cocoon.Cocoon.service(Cocoon.java:183) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:796)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:498)

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