If you undeployed it with the management CLI developer studio has no idea that you removed
it, thus you need to a full publish (right click the server and click full publish).
Posted by forums
Original post:
https://developer.jboss.org/message/910674#910674