I had the same problem, I think it was related to running Batik on a headless system. There is more information at http://xml.apache.org/cocoon/installing/index.html, section "UNIX with X server"
----- Original Message ----- From: "Harry J. Foxwell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 19, 2002 11:44 PM Subject: svg2jpeg error? > > Running jakarta-tomcat-4.0.4, Solaris 9 (SPARC), Cocoon 2.03. > > when transforming xml doc to svg & jpeg, svg2jpeg is not working, getting > error in log file: > > java.lang.NoClassDefFoundError > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:130) > at > java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment .java:62) > at sun.awt.font.FontResolver.<init>(FontResolver.java:46) > at sun.awt.font.FontResolver.getInstance(FontResolver.java:150) > at java.awt.font.TextLine.getFontAtCurrentPos(TextLine.java:984) > at java.awt.font.TextLayout.standardInit(TextLayout.java:721) > at java.awt.font.TextLayout.<init>(TextLayout.java:613) > etc... > > any hints? > (standalone xalan conversion of xml doc to svg produces > apparently okay svg doc which displays correctly under Mozilla) > > Thanks! > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>