示例

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

解决方案
始终至少实现一个 ejbPostCreate() 方法。


public class BeanClass implements javax.ejb.EntityBean {
public void ejbPostCreate () {
//non-empty body
}
//other methods that must implement the interface
}