skip to Main Content

Idea Intellij: Error:java: error: release version 20 not supported, maven.compiler.target in pom.xml – Ubuntu

I have a Idea Intellij project like this: Test.java: public class Test { public static void main(String[] args) { System.out.println("Test"); } } pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>test</groupId> <artifactId>test</artifactId> <version>1.0-SNAPSHOT</version> <properties> <maven.compiler.target>20</maven.compiler.target> <maven.compiler.source>20</maven.compiler.source> </properties> </project>…

VIEW QUESTION
Back To Top
Search