示例

public class BeanClass implements javax.ejb.EntityBean {
//no constructor
//other methods that must implement the interface
}

解决方案
提供不带参数的缺省公共构造函数。


public class BeanClass implements javax.ejb.EntityBean {
public BeanClass () {
//..
}
//other methods that must implement the interface
}