You have only two choices:
a) Move up to JDK 6
b) Get an earlier version of RestEasy that works with JDK 5
Reply to this message by going to Community
Start a new discussion in Beginner's Corner at Community