IDEA: javac: source release 1.7 requires target release 1.7
Most likely you have incorrect compiler options imported from Maven here: Also check project and module bytecode (target) version settings outlined on the screenshot. Other places where the source language level is configured: Project Structure | Project Project Structure | Modules (check every module) | Sources Maven default language level is 1.5 (5.0), you will … Read more