简体   繁体   English

Sakai 20.x 在 sakai-portal-api 中部署失败

[英]Sakai 20.x Deploy failure in sakai-portal-api

System:系统:

  • Ubuntu 20.04 Ubuntu 20.04
  • Java version: 11.0.9.1 Java版本:11.0.9.1
  • Apache Maven 3.6.3 Apache Maven 3.6.3
  • Tomcat 9 Tomcat 9

deploy process stops after sakai-portal-api (without error text) sakai-portal-api 之后部署过程停止(没有错误文本)

sudo mvn clean install sakai:deploy -Dmaven.tomcat.home=/usr/share/tomcat9 -Dsakai.home=/usr/share/tomcat9/sakai -Djava.net.preferIPv4Stack=true
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ sakai-portal-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 36 source files to /usr/share/tomcat9/sakai/portal/portal-api/api/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Sakai base pom 20-SNAPSHOT:
[INFO] 
[INFO] Sakai Master ....................................... SUCCESS [  0.351 s]
[INFO] COMMONS ............................................ SUCCESS [  0.008 s]
[INFO] COMMONS API ........................................ SUCCESS [  0.253 s]
[INFO] sakai-portal base (neo) ............................ SUCCESS [  0.007 s]
[INFO] sakai-portal-api ................................... FAILURE [  0.341 s]
[INFO] sakai-portal-util .................................. SKIPPED

I've tested with maven option " -Dmaven.test.skip=true " too, but same error我也用 maven 选项“ -Dmaven.test.skip=true ”进行了测试,但同样的错误

I also tested with the stable version " git checkout 20.0 " (instead of 20.x), but then it stops at " Sakai Component Manager "我还使用稳定版本“ git checkout 20.0 ”(而不是 20.x)进行了测试,但随后它停止在“ Sakai Component Manager

Any idea, what I can do?有什么想法,我能做什么?

you can't use java 8 because sakai 9 recommend it你不能使用 java 8 因为 sakai 9 推荐它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM