您的位置:首页 > 其它

Jeesite4.0 Missing artifact com.jeesite:jeesite-module-core:jar:4.0-SNAPSHOT

2018-03-02 13:31 567 查看
一、问题描述
Jeesite4.0
update project... 时,pom.xml报错
Missing artifact com.jeesite:jeesite-module-core:jar:4.0-SNAPSHOT
Missing artifact com.jeesite:jeesite-module-devtools:jar:4.0-SNAPSHOT
如图:



报错原因是pom.xml无法自动依赖jeesite-module-core-4.0-SNAPSHOT.jar和jeesite-module-devtools-4.0-SNAPSHOT.jar两个架包

二、解决办法
1、点击下载jeesite-module-core-4.0-SNAPSHOT.jar和jeesite-module-devtools-4.0-SNAPSHOT.jar架包
2、下载架包后,在桌面新建一个temp文件夹,也可以自定义,然后拷贝架包到该目录下,例如我的目录是C:\Users\tevo\Desktop\temp\
3、win+R快捷键输入cmd,回车打开命令窗口,执行命令:
依赖jeesite-module-core-4.0-SNAPSHOT.jar架包
mvn install:install-file -DgroupId=com.jeesite -DartifactId=jeesite-module-core -Dversion=4.0-SNAPSHOT -Dpackaging=jar -Dfile=C:\Users\tevo\Desktop\temp\jeesite-module-core-4.0-SNAPSHOT.jar

依赖jeesite-module-core-4.0-SNAPSHOT.jar架包
mvn install:install-file -DgroupId=com.jeesite -DartifactId=jeesite-module-devtools -Dversion=4.0-SNAPSHOT -Dpackaging=jar -Dfile=C:\Users\tevo\Desktop\temp\jeesite-module-devtools-4.0-SNAPSHOT.jar
点击下载更多jeesite4.0架包 https://oss.sonatype.org/content/groups/public/com/jeesite/
20180307更新,jeesite4.0导入maven项目,pom.xml更新jar架包有问题的话,建议把图中第二个打钩去掉,重新update project....

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐