Why does Xpages app throw java.lang.NoClassDefFoundError at seemingly random intervals?

83 views Asked by At

We are using HCL Domino 11.0.1 FP7

We have an xpages application which uses Java, used only via web browser. Generally, it works fine.

After a while, perhaps once or twice a week, with no exact pattern, this error is thrown:

java.lang.NoClassDefFoundError: (classname)

The (classname) varies - it's not one particular class causing the problem, but is one of our Java classes as opposed to something built-in.

No design elements have changed, the app hasn't been edited in any way.

'Cleaning' the project (Project -> clean...) from HCL Designer fixes it again.

Can anyone shed any light on why this error might be thrown?

Edit: Example line:

public  AssignmentDAO getModelDAO() {
    return new AssignmentDAO();
}

the "return new.. " line threw the error: java.lang.NoClassDefFoundError

0

There are 0 answers