Unsupported major.minor version 52.0

Recently we migrated to Java 8 from Java 7. And after installing Java 8 on my system, running any test threw the exception

And the solution for me was to run Maven > Update Project from context menu. You can also update the classpath of your project from command line using the following command on the project

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.