Hi,
here's the code (simplified):
public abstract class PageBase implements Serializable {
private static final long serialVersionUID = -31905358958878336L;
}
public abstract class ListPage extends PageBase {
public Controller getController() {
// Controller is a class
// that implements Serializable and does have an def. constr.
return new Controller() {
@Override
public void someMethod() {
// DoSomething
}
};
}
}
public class ProjectList extends ListPage {
}
and through deserialization it throws:
java.io.InvalidClassException: de.edeka.plive.page.ListPage$1; no valid constructor
The deserialization is taking place somewhere in the IBM JSF-Code.
Any ideas? Thanks!