mvn命令将 ueditor百度富文本编辑器 所需jar包上传到本地maven仓库
  TEZNKK3IfmPf 2023年11月13日 24 0

在解压后的路径中的jsp/lib下:(UEditor\jsp\lib)

mvn命令将 ueditor百度富文本编辑器 所需jar包上传到本地maven仓库

 

 

2、打开命令行窗口

WIN+R

输入cmd并回车

mvn命令将 ueditor百度富文本编辑器 所需jar包上传到本地maven仓库

 

 

直接在命令行输入如下命令:(一个一个输入运行,里面的路径需要改成自己的)

 

mvn命令将 ueditor百度富文本编辑器 所需jar包上传到本地maven仓库

 

 

 所需的mvn命令如下:

1 mvn  install:install-file -DgroupId=commons-codec -DartifactId=commons-codec -Dversion=1.9  -Dpackaging=jar -Dfile=G:/A科技政策系统/ueditor/jsp/lib/commons-codec-1.9.jar
2
3 mvn install:install-file -DgroupId=commons-fileupload -DartifactId=commons-fileupload -Dversion=1.3.1 -Dpackaging=jar -Dfile=G:/A科技政策系统/ueditor/jsp/lib/commons-fileupload-1.3.1.jar
4
5 mvn install:install-file -DgroupId=commons-io -DartifactId=commons-io -Dversion=2.4 -Dpackaging=jar -Dfile=G:/A科技政策系统/ueditor/jsp/lib/commons-io-2.4.jar
6
7 mvn install:install-file -DgroupId=org.json -DartifactId=json -Dversion=20160810 -Dpackaging=jar -Dfile=G:/A科技政策系统/ueditor/jsp/lib/json.jar
8
9

 运行成功会看到如下界面:

mvn命令将 ueditor百度富文本编辑器 所需jar包上传到本地maven仓库

 

3、在项目中添加maven依赖

1 <!-- UEditor -->
2 <dependency>
3 <groupId>com.baidu</groupId>
4 <artifactId>ueditor</artifactId>
5 <version>1.1.2</version>
6 </dependency>
7
8 <dependency>
9 <groupId>org.json</groupId>
10 <artifactId>json</artifactId>
11 <version>20160810</version>
12 </dependency>
13
14 <dependency>
15 <groupId>commons-io</groupId>
16 <artifactId>commons-io</artifactId>
17 <version>2.4</version>
18 </dependency>
19
20 <dependency>
21 <groupId>commons-codec</groupId>
22 <artifactId>commons-codec</artifactId>
23 <version>1.9</version>
24 </dependency>
25
26 <dependency>
27 <groupId>commons-fileupload</groupId>
28 <artifactId>commons-fileupload</artifactId>
29 <version>1.3.1</version>
30 </dependency>
31
32 <!-- UEditor -->
【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月13日 0

暂无评论

推荐阅读
  TEZNKK3IfmPf   2024年04月19日   21   0   0 jarjava
  TEZNKK3IfmPf   2024年03月29日   79   0   0 maven
  TEZNKK3IfmPf   2023年11月15日   20   0   0 springjar
  TEZNKK3IfmPf   2024年04月19日   20   0   0 部署jar
TEZNKK3IfmPf