How to fix automated Java version change to java 1.5 on updating project via Maven in Eclipse - Software Testing

Empowering Technology

Post Top Ad

Responsive Ads Here

Aug 15, 2018

How to fix automated Java version change to java 1.5 on updating project via Maven in Eclipse



 Just Open POM.xml  in Eclipse and add below config to resolve the error:

<plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.5.1</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
        </plugins>

No comments:

Post a Comment

Thanks a lot for your valuable Comment!

Post Bottom Ad

Responsive Ads Here