The Artima Developer Community
Sponsored Link

Java Answers Forum
a servlet error under linux

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Rock Chen

Posts: 1
Nickname: xinxu
Registered: Dec, 2003

a servlet error under linux Posted: Dec 15, 2003 7:03 PM
Reply to this message Reply
Advertisement
my enviorment: RedHat7.3/jakarta-tomcat4.1.27/j2sdk1.4.1

A servlet is used in a JSP file and the following exception was thrown on the error page every time I browse the page.
I had ever changed the OS to Windows 2000, no problem.


javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:269)
…………………………………………………………


root cause

java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.ja va:62)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1041)
at servlet.ChartRender.doGet(ChartRender.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
……………………………………………… …………

Topic: Help comparing File info to an enterd number and out putting again Previous Topic   Next Topic Topic: exception handling

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use