Where have you got the example source ?
It should be ran in appropriate JBoss AS version, that might sometimes be hard to find
if it is not told in examples readme.
One solution might be to deploy correct jars (app. Seam version ) along with app.
I download it from github, but the examples are not fully working at the moment.
it will work soon though.