It says nested mappings are not allowed in compact mappings
eureka:
client:
register-with-eureka: false
fetch-registry: false
server.port: 8796
spring.application.name: eurekaservice
After rewriting many times, it somehow stopped showing me error! Please some one say what would be the cause?
check tabs and spaces. YAML expects indentations with spaces, not tabs. A lot of editors allow you to automatically convert tabs to spaces. It’s usually in the settings somewhere and you’ll want that switched on if you intend to tab-indent YAML.
This can also happen if one or more of your values has a colon character (:), and the value(s) aren't wrapped in quotes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With