Go to file
Sam Brannen 1cdd56bf02 Log multiple primary bean detection in DefaultListableBeanFactory
Prior to this commit, a NoUniqueBeanDefinitionException was thrown when
multiple primary beans were detected within a given set of beans, but
nothing was logged. For use cases where the exception is handled by
infrastructure code, it may not be obvious to the developer what the
problem is.

To address that, a TRACE message is now logged whenever multiple
competing primary beans are detected in DefaultListableBeanFactory.

Closes gh-35550
2025-10-03 14:09:52 +02:00
.github Upgrade CI workflow from Java 24 to Java 25 2025-10-02 10:19:42 +02:00
.idea Add a project icon for IntelliJ IDEA 2025-02-19 13:45:16 +01:00
buildSrc Upgrade to Checkstyle 10.26.1 2025-07-01 17:51:14 +02:00
framework-api Fail Gradle build whenever a javadoc task fails 2025-04-27 17:59:41 +02:00
framework-bom
framework-docs Fix URI Patterns docs for WebMVC and WebFlux 2025-10-01 19:39:57 +02:00
framework-platform Upgrade to JUnit 5.14 2025-09-30 12:43:53 +02:00
gradle Upgrade to Gradle 8.14.3 2025-07-05 14:04:18 +02:00
integration-tests Update copyright headers in source files 2025-06-17 15:54:58 +02:00
spring-aop Add a test for CGLIB Enhancer Kotlin refinements 2025-10-01 19:21:40 +02:00
spring-aspects Update copyright headers in source files 2025-06-17 15:54:58 +02:00
spring-beans Log multiple primary bean detection in DefaultListableBeanFactory 2025-10-03 14:09:52 +02:00
spring-context Clarify event parameter type for multiple mapped classes 2025-10-01 19:55:42 +02:00
spring-context-indexer Update copyright headers in source files 2025-06-17 15:54:58 +02:00
spring-context-support Support @⁠CacheConfig("myCache") declarations for simplified config 2025-07-07 12:17:47 +02:00
spring-core Consistently apply useCaches for single Resource lookup 2025-10-02 21:53:47 +02:00
spring-core-test Update copyright headers in source files 2025-06-17 15:54:58 +02:00
spring-expression Remove erroneous javadoc symbol 2025-08-22 22:38:34 +02:00
spring-instrument Update copyright headers in source files 2025-06-17 15:54:58 +02:00
spring-jcl Update copyright headers in source files 2025-06-17 15:54:58 +02:00
spring-jdbc Ignore SQL state 3B001 in releaseSavepoint (for HSQLDB) 2025-10-02 13:01:30 +02:00
spring-jms Polishing 2025-07-04 18:20:27 +02:00
spring-messaging Polishing 2025-07-04 18:20:27 +02:00
spring-orm Clarify intended nestedTransactionAllowed default in JpaTransactionManager 2025-09-10 18:06:44 +02:00
spring-oxm Update copyright headers in source files 2025-06-17 15:54:58 +02:00
spring-r2dbc Polish formatting 2025-09-03 16:24:56 +02:00
spring-test Polishing contribution 2025-10-01 14:45:18 +01:00
spring-tx Allow any @Transactional propagation for listener with BEFORE_COMMIT phase 2025-08-01 21:15:56 +02:00
spring-web Fix typo 2025-10-01 16:13:40 +01:00
spring-webflux Polishing 2025-09-09 18:45:04 +02:00
spring-webmvc Polishing 2025-09-17 18:10:19 +02:00
spring-websocket Polishing 2025-09-09 18:45:04 +02:00
src Make AbstractTestNGSpringContextTests thread-safe regarding tracked exceptions 2025-09-25 17:51:39 +02:00
.editorconfig
.gitattributes
.gitignore Add a project icon for IntelliJ IDEA 2025-02-19 13:45:16 +01:00
.sdkmanrc Upgrade to Java 17.0.13 2024-12-30 12:15:24 +01:00
CONTRIBUTING.md Update CONTRIBUTING guidelines for DCO 2025-01-07 09:55:36 +01:00
LICENSE.txt
README.md Fix link to code of conduct 2024-10-08 14:03:54 +02:00
SECURITY.md Update SECURITY.md 2024-10-15 17:13:29 +01:00
build.gradle Upgrade to JUnit 5.14 2025-09-30 12:43:53 +02:00
gradle.properties Next development version (v6.2.12-SNAPSHOT) 2025-09-11 09:40:23 +02:00
gradlew Upgrade to Gradle 8.14 2025-04-27 16:29:46 +02:00
gradlew.bat Upgrade to Gradle 8.14 2025-04-27 16:29:46 +02:00
import-into-eclipse.md
import-into-idea.md
settings.gradle Revert "Disable Gradle auto-provisioning" on 6.2.x 2025-06-12 16:37:59 +02:00

README.md

Spring Framework Build Status Revved up by Develocity

This is the home of the Spring Framework: the foundation for all Spring projects. Collectively the Spring Framework and the family of Spring projects are often referred to simply as "Spring".

Spring provides everything required beyond the Java programming language for creating enterprise applications for a wide range of scenarios and architectures. Please read the Overview section of the reference documentation for a more complete introduction.

Code of Conduct

This project is governed by the Spring Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@spring.io.

Access to Binaries

For access to artifacts or a distribution zip, see the Spring Framework Artifacts wiki page.

Documentation

The Spring Framework maintains reference documentation (published and source), GitHub wiki pages, and an API reference. There are also guides and tutorials across Spring projects.

Micro-Benchmarks

See the Micro-Benchmarks wiki page.

Build from Source

See the Build from Source wiki page and the CONTRIBUTING.md file.

Continuous Integration Builds

Information regarding CI builds can be found in the Spring Framework Concourse pipeline documentation.

Stay in Touch

Follow @SpringCentral, @SpringFramework, and its team members on 𝕏. In-depth articles can be found at The Spring Blog, and releases are announced via our releases feed.

License

The Spring Framework is released under version 2.0 of the Apache License.