Explanation: The Web module needs to use java1.7 and later versions, the current version does not match. So you only need to modify the Java version to 1.7 and above. WORKAROUND: 1. Ensure that there are three changes to the Java version in the Eclipse build Web. Right click on the project, select "Propertie" ===> modify the content, keep the JDK version consistent 1.1 Modify the Java Build Path Libraries version 1.2 Modify the Java Compiler JDK compliance version 1.3 Modify version 2 of Java in the project facet. Because the MAVEN build project is used, you also need to include the configuration information of the JDK in the build tag in the Pom.xml file
<build> <finalName>Spring-activiti</finalName> <plugins> <plugin> <groupid>o Rg.apache.maven.plugins</groupid> <artifactId>maven-compiler-plugin</artifactId> <VERSION&G t;2.3.2</version> <configuration> <source>1.8</source> <target>1.8</ta rget> </configuration> </plugin> </plugins>
</build>
3. Finally, right-click on MAVEN's update Project.
Resolve Import Maven Project error dynamic Web Module 3.1 requires Java 1.7 or newer.