码迷,mamicode.com
首页 > 编程语言 > 详细

解决“Dynamic Web Module 3.0 requires Java 1.6 or newer.”错误

时间:2015-06-16 12:34:18      阅读:128      评论:0      收藏:0      [点我收藏+]

标签:

在项目的pom.xml的<build></build>标签中加入: 
 
保存,项目构建完成后在项目文件夹上点右键,选择Maven->Upda
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                </configuration>
            </plugin>
        </plugins>

 

te Project Configuration,问题解决。

解决“Dynamic Web Module 3.0 requires Java 1.6 or newer.”错误

标签:

原文地址:http://www.cnblogs.com/fatfatdachao/p/4580339.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!