---
title: "How to add net.sf.json-lib dependendy in Maven "
author: "john521"
date: "2014-07-24T22:11:42Z"
tags: []
categories: ["Web前端"]
slug: "how-to-add-net-sf-json-lib-dependendy-in-maven"
draft: false
lastmod: "2014-07-24T22:11:42Z"
id: 2096164
url: "https://john521.iteye.com/blog/2096164"
---

Do NOT  forget to add the classifier attribute, shown as below:

 

&lt;groupId&gt;net.sf.json-lib&lt;/groupId&gt;  
&lt;artifactId&gt;json-lib&lt;/artifactId&gt;  
&lt;version&gt;2.4&lt;/version&gt;  
&lt;classifier&gt;jdk15&lt;/classifier&gt;