I want to use Spring Context in my maven project. So, i am searching searching for the code that I can add into my pom.xml file.
What is spring context dependency maven code?
The Spring contexts is also know as Spring IoC containers and this is responsible for instantiating, configuring, and assembling beans. There are many ways you can configure the beans in your application. You can use configuration metadata from XML, Java annotations, and/or Java code in your program to configure the Spring Context.
The Spring Context library is distributed as jar files with Spring framework. You can include it by adding following code into your pom.xml file:
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.0.2.RELEASE</version> </dependency>
Following is the dependency code for spring-context version 5.1.5:
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.1.5.RELEASE</version> </dependency>
You can checkout more at:
Check Here: * An introduction to spring framework