vendredi 24 octobre 2014

How to package dependencies into java project with eclipse


Vote count:

0




I get this error when I try to run my project. java.lang.NoClassDefFoundError: org/yaml/snakeyaml/Yaml


I am trying to include the dependency SnakeYaml.jar in my project so my project is only one jar instead of requiring an external dependency.


in my project SnakeYaml.jar is located at /Libs/SnakeYaml.jar


but it is not being loaded at runtime, what can I do to get it to load the resource at runtime?



asked 3 mins ago







How to package dependencies into java project with eclipse

Aucun commentaire:

Enregistrer un commentaire