示例

public static class BeanClass implements javax.ejb.SessionBean {
private static final void ejbPostCreate () {
//..
}
//methods that must implement the interface
}

解决方案
将方法 ejbPostCreate() 声明为 public 而非 staticfinal


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