<build> ... <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.6.0</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build>
- Click on your project folder.
- Go to Window > Show View > Navigator
- Go to Navigator and expand the .settings folder
<?xml version="1.0" encoding="UTF-8"?> <faceted-project> <fixed facet="wst.jsdt.web"/> <installed facet="jst.web" version="2.3"/> <installed facet="wst.jsdt.web" version="1.0"/> <installed facet="java" version="1.8"/> </faceted-project>
- Change the version like this
<installed facet="jst.web" version="3.1"/>
- Just update your project. Right Click on The Project Folder > Maven > Update Project > Select the Project and click ‘Ok’
There is no doubt that Spring Framework is one of the most popular Java frameworks and makes it really easy to create real-world, enterprise-grade Java applications by providing features like dependency injection and inversion of control.
But, to be honest, Spring is much more than just another DI and IOC framework. It goes one more level to simplify many of Java’s APIs e.g. JDBC, JMS, Java Mail, etc., by providing a useful layer of abstraction. It’s much easier to work with JDBC with Spring’s JdbcTempalte and other utility classes. They remove most of the friction a Java developer faces with respect to executing SQL statements and processing ResultSets to get the Java object they want.
The Spring framework has changed a lot in last a couple of years. In 2017 and 2018 itself, we have seen major releases for Spring, Spring Boot, and Spring Security. These new releases introduced several exciting features to meet the latest software development trends e.g. reactive programming, support for Kotlin for developing Spring application, Spring WebFlux – a new framework to develop non-blocking and reactive web application, and many more. Since software world is changing and most of the development is happening on Cloud with Microservice architecture leading the way, it’s high time that experienced Java developers should upgrade themselves. Read more …