Full-Stack Internet Architecture
Oct 14, 2020 · Backend Development
Fixing Maven ClassNotFoundException for json-lib by Adjusting Classifier and outputFileNameMapping
This article explains why a Maven build fails with a ClassNotFoundException for net.sf.json.JSONException due to a missing classifier in the json-lib jar, and shows how to modify the assembly plugin's outputFileNameMapping to correctly include the classifier, preventing the runtime error.
ClassNotFoundExceptionJavaJson-lib
0 likes · 4 min read