0

I am upgrading my application from SpringBoot 1.5 to 2.3, the old application had the following yml file

config:
 pic_code:
  "Test/Try": "ABC"
  "Trial": "DRF"

After upgrading, YAML key with '/' is not being read properly and gives null.

I have tried to change the key as below

"[Test/Try]"
'[Test/Try]'
"Test'/Try"

but nothing worked.

Any suggestions will be very much helpful

LearnToCode
  • 169
  • 1
  • 5
  • 19

1 Answers1

0

It works with '[Test/Try]' as per the link shared above Spring Boot YAML configuration with URL in key no longer loads correctly with version 2

LearnToCode
  • 169
  • 1
  • 5
  • 19