ITeye博客

maven项目报错:Dynamic Web Module 3.0 requires Java 1.6 or newer

krs · 2016-07-27 17:07 · Java · 开源软件 · Markdown

在pom.xml的<build></build>标签中加入:

        <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>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。