dubbo-spring-boot-project icon indicating copy to clipboard operation
dubbo-spring-boot-project copied to clipboard

Cannot enable spring boot profile

Open coldingcode opened this issue 8 years ago • 6 comments

Hi dubbo team i met a problem when i config success and run successs spring boot provider profile cannot apply example application.yml(server.port=8081) aplication-dev.yml(server.port=8082) add JVM arg -Dspring.profiles.active=dev or add spring.profiles.active=dev in application/bootstrap runtime get dubbo property always in application.yml cannot overrite property by profile dev

coldingcode avatar Jul 05 '18 08:07 coldingcode

Which version ? It's a known issue on Dubbo Spring Boot 0.1.0 or < Dubbo 2.6.2

mercyblitz avatar Jul 08 '18 07:07 mercyblitz

Dubbo Spring Boot 0.1.1 and Dubbo 2.6.2

coldingcode avatar Jul 09 '18 02:07 coldingcode

maybe you can tell me how to solve this issue

coldingcode avatar Jul 09 '18 04:07 coldingcode

Did you try application.properties?

mercyblitz avatar Aug 08 '18 02:08 mercyblitz

no,only use yml

coldingcode avatar Aug 08 '18 07:08 coldingcode

Please update Dubbo 2.6.5

mercyblitz avatar Dec 14 '18 09:12 mercyblitz