Skip to content

Commit 5cc1a83

Browse files
committed
Fixup abstract configuration following SPR-16839
Spring Framework now requires that all nested configuration classes are contained within a `@Component` class (see SPR-16839). This means that our abstract `JpaBaseConfiguration` class should have a `@Configuration` annotation. Closes gh-14480
1 parent 0f653e6 commit 5cc1a83

File tree

1 file changed

+1
-0
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa

1 file changed

+1
-0
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/JpaBaseConfiguration.java

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
* @author Kazuki Shimizu
7171
* @author Eddú Meléndez
7272
*/
73+
@Configuration
7374
@EnableConfigurationProperties(JpaProperties.class)
7475
@Import(DataSourceInitializedPublisher.Registrar.class)
7576
public abstract class JpaBaseConfiguration implements BeanFactoryAware {

0 commit comments

Comments
 (0)