Failed to execute goal on project x_base_core_project: Could not resolve dep...
本帖最后由 lanyuan 于 2022-10-28 10:19 编辑用的是master分支,我是按以下教程编译的。
https://www.o2oa.net/course/ng5iqb.html
win10
jdk1.8
maven 3.8.6
npm8.9.2
node18.12.0
怎么解决?
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 http://maven.aliyun.com/nexus/content/groups/public 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 ->
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
http://cwiki.apache.org/confluen ... ResolutionException
After correcting the problems, you can resume the build with the command
mvn <args> -rf :x_base_core_project
'build_server' errored after 16 s
Error in plugin "gulp-shell"
Message:
Command `npm run build_server_script` failed with exit code 1
D:\ideaproject\o2oa>npm install
请更换maven阿里云仓库地址为:https://maven.aliyun.com/repository/public
页:
[1]