As the message tells you, look at the message above this one.
In this case, it's due to the 'RemoteException' that needs to be declared thrown in the java file with remote interface (something along those lines).
Exact, it's confrom to the ejb spec. Every method for remote interface must be declared throwing a RemoteException.
I don't know the example you talk about, but verify this topic within the source files.