Код: Выделить всё
org.springframework.boot
spring-boot-starter-parent
3.0.2
Код: Выделить всё
spring.config.use-legacy-processing: true
Код: Выделить всё
spring:
profiles.active: dev
profiles: dev
rails:
url: ...
userIdentifier: ...
service: FILESERVICE
methodInBody: POST
uri: /api/external-interfaces/file-locations
---
spring:
profiles: stage
rails:
url: ...
userIdentifier: ...
service: FILESERVICE
methodInBody: POST
uri: /api/external-interfaces/file-locations
jackson:
serialization:
indent-output: true
---
spring:
profiles: prod
rails:
url: ...
userIdentifier: ...
service: FILESERVICE
methodInBody: POST
uri: /api/external-interfaces/file-locations
org.springframework.boot .context.config.InvalidConfigDataPropertyException: свойство «spring.profiles», импортированное из местоположения «ресурс пути к классу [application.yml]», недействительно и должно быть заменено на «spring.config.activate.on-profile» [происхождение: ресурс пути к классу [application.yml] - 41:13]
Мне просто нужно заменить все три вхождения профилей: на Spring.config.activate.on-profile: ?
Подробнее здесь: https://stackoverflow.com/questions/755 ... invalid-an