欢迎来到代码驿站!

JAVA代码

当前位置:首页 > 软件编程 > JAVA代码

Java使用JSONObject需要的6个jar包下载地址

时间:2021-06-24 08:19:10|栏目:JAVA代码|点击:

JSONObject所必需的6个jar包:

  • commons-beanutils-1.7.0.jar
  • commons-collections-3.1.jar
  • commons-lang-2.5.jar
  • commons-logging.jar
  • ezmorph-1.0.3.jar
  • json-lib-2.1-jdk15.jar

网上有很多的下载jar包地址,但是我个人比较喜欢的是Maven网站,里面一般提供了各种版本。

这个网址是maven仓库的国内镜像地址:

http://mvnrepository.com

步骤图解:

一、搜索要下载的jar包

二、在红色箭头里面选择理想的版本

如果项目没有jar版本要求,尽量选择下载量多的版本

三、点击合适的版本

四、一般都选择jar进行下载

下载之后就可以成功了,

如果使用的Maven 就在下载页面下拉就可以看到Maven的jar包版本详情,然后复制粘贴就可以了

如果后续有jar不能下载的情况,可以使用maven镜像,pom文件为:

 <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
    <dependency>
      <groupId>com.alibaba</groupId>
      <artifactId>fastjson</artifactId>
      <version>1.2.28</version>
    </dependency>


    <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
    <dependency>
      <groupId>commons-beanutils</groupId>
      <artifactId>commons-beanutils</artifactId>
      <version>1.9.2</version>
    </dependency>


    <!-- https://mvnrepository.com/artifact/commons-collections/commons-collections -->
    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
      <version>3.2.1</version>
    </dependency>


    <!-- https://mvnrepository.com/artifact/commons-lang/commons-lang -->
    <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
      <version>2.6</version>
    </dependency>


    <!-- https://mvnrepository.com/artifact/commons-logging/commons-logging -->
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.1.1</version>
    </dependency>


    <!-- https://mvnrepository.com/artifact/net.sf.ezmorph/ezmorph -->
    <dependency>
      <groupId>net.sf.ezmorph</groupId>
      <artifactId>ezmorph</artifactId>
      <version>1.0.6</version>
    </dependency>


    <!-- https://mvnrepository.com/artifact/net.sf.json-lib/json-lib -->
    <dependency>
      <groupId>net.sf.json-lib</groupId>
      <artifactId>json-lib</artifactId>
      <version>2.4</version>
      <classifier>jdk15</classifier>
    </dependency>

上一篇:mybatis的Configuration详解

栏    目:JAVA代码

下一篇:mybatisPlus自定义批量新增的实现代码

本文标题:Java使用JSONObject需要的6个jar包下载地址

本文地址:http://www.codeinn.net/misctech/147288.html

推荐教程

广告投放 | 联系我们 | 版权申明

重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

联系QQ:914707363 | 邮箱:codeinn#126.com(#换成@)

Copyright © 2020 代码驿站 版权所有