diff --git a/sofa-boot-project/sofa-boot-core/runtime-sofa-boot/src/main/java/com/alipay/sofa/runtime/spring/ReferenceAnnotationBeanPostProcessor.java b/sofa-boot-project/sofa-boot-core/runtime-sofa-boot/src/main/java/com/alipay/sofa/runtime/spring/ReferenceAnnotationBeanPostProcessor.java index a4453ccb0..de5c6d236 100644 --- a/sofa-boot-project/sofa-boot-core/runtime-sofa-boot/src/main/java/com/alipay/sofa/runtime/spring/ReferenceAnnotationBeanPostProcessor.java +++ b/sofa-boot-project/sofa-boot-core/runtime-sofa-boot/src/main/java/com/alipay/sofa/runtime/spring/ReferenceAnnotationBeanPostProcessor.java @@ -193,7 +193,7 @@ public void setApplicationContext(ApplicationContext applicationContext) throws private AnnotationWrapper createAnnotationWrapper() { return AnnotationWrapper.create(SofaReference.class) - .withEnvironment(this.applicationContext.getEnvironment()) - .withBinder(DefaultPlaceHolderBinder.INSTANCE); + .withEnvironment(this.applicationContext.getEnvironment()) + .withBinder(DefaultPlaceHolderBinder.INSTANCE); } }