Change pom.xml code where the maven-compiler-plugin is old version and it is creating an issue while building the application.
change code
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
to
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
Change pom.xml code where the maven-compiler-plugin is old version and it is creating an issue while building the application.
change code
to