Example

public class BeanClass implements javax.ejb.EntityBean {
private static Object staticField;

//other methods that must implement the interface
}

Solution
Declare static fields as final.


public class BeanClass implements javax.ejb.EntityBean {
private static final Object staticField;

//other methods that must implement the interface
}