Resolve Import Maven Project error dynamic Web Module 3.1 requires Java 1.7 or newer.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.