Manage Learn to apply best practices and optimize your operations.

Prevent java.lang.NoClassDefFoundError of known classes in the Notes client

This tip describes how to prevent a Java error in the Notes client.

When an embedded applet is killed during the Classload Process, the JVM will not find the required Java classes until Notes is restarted. This happens when the document refreshes before all applet resources are loaded. When you call a dummy Java function via JavaScript in the onload function, the client stays in the onload function until all applet resources are loaded and all documents refresh after Classloader is finished.

Simple JavaScript Call off an 
dummy Function in Java:

Java dummy Function:
public class AppletName 
extends AppletBase{
public void dummy(){}

Dig Deeper on Java for Lotus Notes Domino



  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/ community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury