public class BeanClass implements javax.ejb.MessageDrivenBean { public void ejbCreate (int a) { //..
} //other methods that must implement the interface
}
Solution
Do not have any parameters for ejbCreate().
public class BeanClass implements javax.ejb.MessageDrivenBean { public void ejbCreate () { //..
} //other methods that must implement the interface
}