本帖最后由 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
|