The dependency SnakeYaml was added to our pom, because we use it for the jUnit tests. It was added just for the test scope. But it is also a transitive dependency through the Hyperledger SDK.
This causes no problems when building and executing the project with maven, since maven correctly resolves the transitive dependency.
But when executing a run configuration with IntelliJ, IntelliJ messes up the dependency resolvement. It detects that SnakeYaml is only a dependency for the test scope and throws a ClassDefNotFound Exception when running with a Hyperledger manifest.
The dependency SnakeYaml was added to our pom, because we use it for the jUnit tests. It was added just for the test scope. But it is also a transitive dependency through the Hyperledger SDK. This causes no problems when building and executing the project with maven, since maven correctly resolves the transitive dependency. But when executing a run configuration with IntelliJ, IntelliJ messes up the dependency resolvement. It detects that SnakeYaml is only a dependency for the test scope and throws a ClassDefNotFound Exception when running with a Hyperledger manifest.