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
No comments:
Post a Comment