Error while parsing raml using raml-parser


#1

Question updated with new issue:
Error:
java.lang.NoSuchMethodError: org.yaml.snakeyaml.nodes.MappingNode.isMerged()Z
at org.raml.parser.visitor.NodeVisitor.doVisitMappingNode(NodeVisitor.java:126)
at org.raml.parser.visitor.NodeVisitor.visitDocument(NodeVisitor.java:209)
at org.raml.parser.visitor.YamlDocumentBuilder.build(YamlDocumentBuilder.java:90)
at org.raml.parser.visitor.YamlDocumentBuilder.build(YamlDocumentBuilder.java:102)
at org.cov.utils.RamlRequestBuilder.buildRequest(RamlRequestBuilder.java:55)

code:
raml = new RamlDocumentBuilder().build(is,resourceLoc1);