I am getting a Unsupported major.minor version 51.0 error after moving from IntelliJ IDEA JBoss to MyEclipse Tomcat.
Everything was working great under IntelliJ IDEA
This happens when you compile the code in a higher version of the JDK than you are using at runtime.
You can set the compiler version here:
Project -> Properties -> Java Compiler