查看: 5200|回复: 1

Failed to execute goal on project x_base_core_project: Could not resolve dep...

升级   0.26%

2

主题

1

回帖

26

积分

注册会员

Rank: 2

积分
26
发表于 2022-10-28 10:14:08 | 显示全部楼层 |阅读模式
本帖最后由 lanyuan 于 2022-10-28 10:19 编辑

用的是master分支,我是按以下教程编译的。
https://www.o2oa.net/course/ng5iqb.html

win  10
jdk1.8
maven 3.8.6
npm  8.9.2
node  18.12.0

怎么解决?

[AppleScript] 纯文本查看 复制代码
[ERROR] Failed to execute goal on project x_base_core_project: Could not resolve dependencies for project net.o2oa:x_base_core_project:jar:7.2: The following artifacts could not be resolved: javax:javaee-api:jar:7.0, org.apache.commons:commons-math3:jar:3.6.1, com.fasterxml.woodstox:woodstox-core:jar:6.2.1, org.apache.poi:poi:jar:4.1.2, org.apache.poi:poi-ooxml:jar:4.1.2, org.apache.poi:poi-ooxml-schemas:jar:4.1.2, com.google.guava:guava:jar:30.1.1-jre, net.java.dev.jna:jna:jar:5.8.0, com.fasterxml.jackson.core:jackson-databind:jar:2.12.3, org.apache.pdfbox:fontbox:jar:2.0.16, com.h2database:h2:jar:1.4.200, net.java.dev.jna:platform:jar:3.5.2, com.alibaba:druid:jar:1.2.8: javax:javaee-api:jar:7.0 was not found in [url=http://maven.aliyun.com/nexus/content/groups/public]http://maven.aliyun.com/nexus/content/groups/public[/url] during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of nexus-aliyun has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] [url=http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException]http://cwiki.apache.org/confluen ... ResolutionException[/url]
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :x_base_core_project
[01:34:49] 'build_server' errored after 16 s
[01:34:49] Error in plugin "gulp-shell"
Message:
    Command `npm run build_server_script` failed with exit code 1

D:\ideaproject\o2oa>npm install




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

升级   100%

0

主题

662

回帖

2

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2
发表于 2022-10-28 17:07:15 | 显示全部楼层
请更换maven阿里云仓库地址为:https://maven.aliyun.com/repository/public
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系客服 关注微信 下载APP 返回顶部 返回列表
viewthread