Java Exception or Error Occurs

Problem: When you preview your web page in a browser, a dialog box appears saying that a Java error or “exception” occurred.

Cause: If the message goes on to say that a “class” was not found—for example “GSP.class: class not found”—then your JSP folder is either in the wrong location or has become corrupted. (For example, vital files within it may have been accidentally deleted or moved.) Make a fresh copy of the JSP folder in the appropriate location, as described in Essential JavaSketchpad Folder Structure).

If the error message says something else, a different problem has occurred. While JavaSketchpad has been extensively tested on current versions of Internet Explorer and Netscape Navigator, older browsers are erratic in their support of Java, and other browsers may have similar problems. (Java is a relatively new language and undergoes frequent modifications; different browsers support it to different degrees.) Check with your browser manufacturer to see if a more recent version of your browser is available. Errors or exceptions may also indicate a problem with JavaSketchpad itself. Visit the JavaSketchpad web site to see if a more recent version of the applet is available.

See also
Web Publishing Overview

Essential JavaSketchpad Folder Structure