I am trying to use a library in my java project, I am using intelij IDEA. For some reason, in IDEA I don't have any errors, the code compile, but when I build an artefact and run it I have this error :
Exception in thread "main" java.lang.NoClassDefFoundError: org/json/simple/parser/JSONParser
I have import the class in the file where I use the librarie and json-simple is in my module list.