Search This Blog

Wednesday, June 14, 2017

Dynamic Web Module 3.0 requires Java 1.6 or newer” in Maven Projects

Open your project’s pom.xml and add this plugin tag
<build>
    <plugins>
        <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.1</version>
        <configuration>
            <source>1.8</source>
            <target>1.8</target>
        </configuration>
    </plugin>
    </plugins>
</build>
Finally, right click on your project > Maven > Update Project
Post a Comment

Hit Counter


View My Stats