首页 > 解决方案 > Dspace 安装问题

问题描述

我尝试在我的 ubuntu 服务器 14.04 上安装 dspace 一切正常,直到我尝试代码 mvn -U clean package 导致以下错误,我被困在这里,请提供解决方案。

$ mvn -U clean package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.095s
[INFO] Finished at: Sat Dec 19 23:14:44 BDT 2020
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/home/dspace). Please verify you invoked Maven from the correct directory. -> [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] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException

标签: maven

解决方案


错误提示“此目录中没有 POM”,因此您可能在没有pom.xml.

package没有 as就无法运行pom.xml


推荐阅读