Hi,

I got a problem when I use a servlet to to get the screen resolution by
calling a class that uses getToolkit() to get default system awt
toolkit. Java 1.2.1 and servlet 2.1 are used. Below is a stack trace.
Could anybody help me out?

Thanks!!
Li

java.lang.NoClassDefFoundError: sun/awt/motif/MToolkit
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName0(Compiled Code)
        at java.lang.Class.forName(Compiled Code)
        at java.awt.Toolkit$2.run(Compiled Code)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessController.doPrivileged(Compiled Code)
        at java.awt.Toolkit.getDefaultToolkit(Compiled Code)
        at java.awt.Component.getToolkitImpl(Compiled Code)
        at java.awt.Component.getToolkit(Compiled Code)
        at com.ge.med.iip.util.IipScreenRes.<init>(Compiled Code)
        at
MIIAMainMessageServlet.ResolutionCheck(MIIAMainMessageServlet.java:46)
        at MIIAMainMessageServlet.doGet(MIIAMainMessageServlet.java:88)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:486)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
        at
org.apache.jserv.JServConnection.run(JServConnection.java:343)
------------------------------------------------------------------------
----------------------------------

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to