0

Yaml file not allowed password starting from ! example value as here !abc1234 any idea how to put that as a value in yaml config file

   org.yaml.snakeyaml.constructor.ConstructorException: Can't construct a java object for !abc1234; exception=Invalid tag: !abc1234 in 'reader', line 82, 
someone
  • 6,577
  • 7
  • 37
  • 60

1 Answers1

1

There is a good SO answer regarding YAML and quotes.

This states that you have to

Use quotes if your value includes special characters, (e.g. :, {, }, [, ], ,, &, *, #, ?, |, -, <, >, =, !, %, @, \).

Gebezs
  • 696
  • 3
  • 9