maven - 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
解决方案
错误提示“此目录中没有 POM”,因此您可能在没有pom.xml
.
package
没有 as就无法运行pom.xml
。
推荐阅读
- php - post__not_in 不排除 Wordpress 搜索查询中的 ID
- php - 向 prestashop 模块添加经典或 ID
- python - ArrayField 中的列表实例有效吗?
- python - 烧瓶多对多循环通过id将数据插入表不起作用
- javascript - __dopostback 不适用于 Outlook 内置 IE 中的更新面板
- sqlite - Xamarin.Forms 共享项目:System.DllNotFoundException:/system/lib/libsqlite.so
- php - 我正在尝试为一个类项目构建一个 Web 应用程序,但我不知道我应该使用 PHP7 非线程安全还是线程安全?
- xslt - XSLT 代码在第一个下划线到第三个下划线之间选择字符串(将在 10 位后被剪切)
- java - 运行 Spring Boot Web 应用程序时 JVM 崩溃
- voltdb - 如何使用 voltdb 运行具有不同节点的两个服务