Registry / dependency-injection / spring-core

spring-core

JSON →
library7.0.7javamavenunverified

Core module of the Spring Framework providing IoC container, dependency injection, and utility classes.

<dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>7.0.7</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-CORE
S
spring-core
dependency-injectionjavav7.0.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ApplicationContext
org.springframework.context.ApplicationContext

Shows creating an ApplicationContext and retrieving a bean.

import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; public class Example { public static void main(String[] args) { ApplicationContext ctx = new AnnotationConfigApplicationContext("com.example"); MyBean bean = ctx.getBean(MyBean.class); bean.doSomething(); } }
Debug
Known issues
breakingSpring Core 7.x requires Java 17+ and Jakarta EE 10 (javax.* replaced by jakarta.*).
fix
Migrate imports from javax.* to jakarta.* and use Java 17+.
affects: >=7.0.0
Upgrade
Version history
7.0.7latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
OpenAI (training)
1
Resources
spring-core — mvn dependency:get spring-core · libregistry