java.lang.UnsupportedClassVersionError: org/eclipse/jetty/continuation/ContinuationSupport : Unsupported major.minor version 51.0
you have to use java 1.7 with continuation.:
go to eclipse->preferences->java->compiler and switch to 1.7
add and choose jre in installed jres,
go to intalled jres ->execution environment and make sure one is chosen.
go to your project and remove the old jre library and add the new one.
If you see 2 errors…one then another when you refresh…check eclipse for the real caused by. the one in the browser isn’t the real one
if using surefire, run with -e and look in target/surefire-reports for the stack traces
add the asm jar in jetty/annotations/lib to the classpath by doubleclicking the serve rin server view
and “open launch configuration” -> classpath -> add external jars
downloading asm from the site wont work. only use the one that came with jetty. add the other jar (javax.annotations something) in that dir as well
go to order and export and make sure its checked off
go to dashboard view and click load all metrics before searching for it
exit eclipse and clean project. must exit eclipse
org.apache.maven.surefire.util.SurefireReflectionException: java.lang.reflect.InvocationTargetException; nested exception is java.lang.reflect.InvocationTargetException: null
add junit to the pom