hi there
I had the same problem, somehow the rest stuff got added to my libraries
- like you i don't know how. So remove that and then go to web.xml and
you'll find a reference to a rest resource, I removed that, recompiled,
undeployed everything, restarted glassfish and it's all good.
hope it helps
bd