Dynamic Web Module 3.0 requires Java 1.6 or newer
The new Maven project, marker has this problem
Copy and paste the following in porm.xml
<build>
<plugins>
<!-- define the project compile level -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
Then Use maven update project, Done!
Similar Posts:
- Maven warnning: ‘build.plugins.plugin.version’ is missing [How to Solve]
- How to Solve Maven Project Error: Cannot change version of project facet Dynamic web module to 3.0/3.1
- [Solved] Spring Boot Package Error: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0
- Dynamic Web Module 3.1 requires Java 1.7 or newer
- [Solved] Error:java: error: release version 5 not supported & Switch Unrecognized String
- Automatic version change of IntelliJ idea language level and Java compiler
- [Solved] SpringBoot Package Error: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-res
- Error:java: javacTask: source release 8 requires target release 1.8
- [Solved] Spring Start Error: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project gulimall-coupon: There are test failures. Please refer to D:\m1\0613\mall-coup
- Solve the error in Maven project packaging: error injecting constructor