Wrox Home  
Search P2P Archive for: Go

  Return to Index  

servlets thread: 500 Servlet Exception java.lang.NoClassDefFoundError


Message #1 by "CHANDRA SEKHAR BANERJEE" <csbanerjee@v...> on Thu, 6 Sep 2001 18:59:48
whats the second bit to the error? When things go wrong, it should give you
a double exception trace, the stack trace for the servlet container and an
stack trace for you application below it normally title: root problem or
something like that. Can you send it please? Also can you say which web
server you are using at home and which you are using on the web site? it may
be that the jdk versions are different or that the JSP/Servlet versions are.

chanoch

-----Original Message-----
From: CHANDRA SEKHAR BANERJEE [mailto:csbanerjee@v...]
Sent: 06 September 2001 20:00
To: Servlets
Subject: [servlets] 500 Servlet Exception java.lang.NoClassDefFoundError


Dear Sir,
One of my servlet which sends binary data as response (through GIF encoder)
works fine in my localhost.
However when I upload it to the web server and try to run it i get the 
following error message:

500 Servlet Exception
java.lang.NoClassDefFoundError
	at java.awt.Window.<init>(Window.java:182)
	at java.awt.Frame.<init>(Frame.java:315)
	at java.awt.Frame.<init>(Frame.java:262)
	at CsbanGraph.doGet(CsbanGraph.java:156)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
	at com.caucho.server.http.FilterChainServlet.doFilter
(FilterChainServlet.java:82)
	at com.caucho.server.http.Invocation.service(Invocation.java:272)
	at com.caucho.server.http.CacheInvocation.service
(CacheInvocation.java:128)
	at com.caucho.server.http.HttpRequest.handleRequest
(HttpRequest.java:216)
	at com.caucho.server.http.HttpRequest.handleConnection
(HttpRequest.java:158)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
	at java.lang.Thread.run(Thread.java:484)

Could you please help me in solving this problem?
My server adminstration people keep telling me that there is nothing
wrong with their classpath setting and that I should check my programme.
I shall be very greatful if could send me your reply at the earliest.
Best regards.
C.S.BANERJEE.

  Return to Index