public static class BeanClass implements javax.ejb.SessionBean { private static final void ejbCreate () { //..
} //methods that must implement the interface
}
解决方案
将方法 ejbCreate() 声明为 public 而非 static 或 final
public class BeanClass implements javax.ejb.SessionBean { public void ejbCreate () { //..
} //methods that must implement the interface
}