Category "snakeyaml"

How to read from YAML file in java?

I have YAML file like this.. Product: ProductA: Suite: SuiteName_A: Environment_1: ["A","B","C"] Environment_2: ["X","Y","Z"] SuiteName_B

Getting java.lang.NoSuchMethodError: org.yaml.snakeyaml.Yaml.<init> while running spark based spring boot application

SnakeYaml jar present at classPath: snakeyaml-1.26.jar 2330 [main] ERROR org.springframework.boot.SpringApplication - Application run failed java.lang.NoSuchMe