I am trying to do a simple RestEasy application. I downloaded the latest RestEasy jar files. I created the java application. When I run it I get a 404 error. When jboss starts up, I see an error:
java.lang.UnsupportedClassVersionError: Bad version number in .class file
Based on what people have said on other websites, apparently I'm running an earlier version of java than what the RestEasy jar files were compiled on. So what should I do?
I am running:
You have only two choices:
a) Move up to JDK 6
b) Get an earlier version of RestEasy that works with JDK 5