Tried your code in a JBoss Tools project? It is really straightforward and assures that
you don't struggle with some library conflict somewhere.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121432#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...