ASK CORE EXT Проблемы при старте проекта !!! Проверить настройки в нескольких местах: 1. Settings --> Build, Execution, Deployment --> Compiler --> Java Compiler --> Выставить 1.8 в двух местах Screenshot 2. File --> Project Structure --> Modules 3. File --> Project Structure --> Project By default, the Java language level is set to 5 which is not supported by the current Java version. Update the language level to 6+ Settings --> Build, Execution, Deployment --> Compiler --> Java Compiler --> Выставить 1.8 d ldeü vtcnfü Screenshot Java file outside of source root --> Click on "maven" on the right toolbar in IntelliJ and then click on the refresh button Error:java: error: release version 5 not supported --> Смотреть Версии "Language level" в Project Structure -> Project Settings -> Modules File -> Settings -> Build -> Compiler -> Java Compiler В pom.xml нужно добавить maven.compiler.source и maven.compiler.target в секции properties. Пример для java 8: <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> </properties> |