Remove unused TableResource.

Fix JPA deploy failed issue.