引入net.sf.json报错:Missing artifact net.sf.json-lib:json-lib:jar:2.4

当引入net.sf.json时,会报Missing artifact net.sf.json-lib:json-lib:jar:2.4错误

		<dependency>
		    <groupId>net.sf.json-libgroupId>
		    <artifactId>json-libartifactId>
		    <version>2.4version>
		dependency>

我们需要制定JDK的版本,但是只能是写jdk15,其他版本都不行,如下所示:


		<dependency>
		    <groupId>net.sf.json-libgroupId>
		    <artifactId>json-libartifactId>
		    <version>2.4version>
		<classifier>jdk15classifier>
		dependency>
```**

你可能感兴趣的:(java,jdk)