一、问题描述
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

如图:
Jeesite4.0 Missing artifact com.jeesite:jeesite-module-core:jar:4.0-SNAPSHOT
报错原因是pom.xml无法自动依赖jeesite-module-core-4.0-SNAPSHOT.jarjeesite-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....

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

相关文章:

  • 2021-06-16
  • 2021-07-14
  • 2021-11-23
  • 2021-07-03
  • 2021-05-25
  • 2021-06-23
  • 2021-09-16
猜你喜欢
  • 2022-12-23
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
  • 2021-07-10
相关资源
相似解决方案