public class BeanClass implements javax.ejb.MessageDrivenBean { public void ejbCreate (int a) { //..
} //other methods that must implement the interface
}
解决方案
ejbCreate() 不要有任何参数。
public class BeanClass implements javax.ejb.MessageDrivenBean { public void ejbCreate () { //..
} //other methods that must implement the interface
}