Dear Sirs, I have got a servlet that generates a pdf file from a xml file, the servlet runs in Tomcat, and it runs fine as long as in the xml file does not contain references to images. At the moment the xml contains an image I got this error:
java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62) at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1041) at java.awt.image.BufferedImage.getGraphics(BufferedImage.java:1031) at net.antonius.pdfgen.TypeImageMap.parse(Unknown Source) The strange thing is that if I ran the old program as an independent java program, I did not got the error. Hence the java environment provided by Tomcat misses some classes? Thanks in advance for any suggestions. Marc --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]