无法在 Apache Tomcat 10.1.17 (Ubuntu) 中运行 Syncope 3.2.0 应用程序(maven 安装)

问题描述 投票:0回答:0

如何在 Apache Tomcat 10.1.17 (Ubuntu) 中安装和使用 Syncope 3.0.2 web 应用程序(maven 安装)?

你好。根据文档(https://syncope.apache.org/docs/getting-started.html#maven-project),我执行了安装 Syncope 的步骤:

mvn archetype:generate \
    -DarchetypeGroupId=org.apache.syncope \
    -DarchetypeArtifactId=syncope-archetype \
    -DarchetypeRepository=https://repo1.maven.org/maven2 \
    -DarchetypeVersion=3.0.2

mvn clean install

此时没有失败。在此时的文档中,我还不清楚如何将 Syncope 应用程序部署到 Apache Tomcat,然后我将生成的

*.war
*.jar
文件复制到
/opt/tomcat/webapps
并启动 Apache Tomcat 服务器。在 Tomcat Web 应用程序管理器应用程序表中,显示了
/syncope, /syncope-wa, syncope-enduser, /syncope-console
应用程序,但是当我尝试访问其中任何一个时,我收到 404 错误。唯一显示内容的应用程序是
/syncope
,有一个 Swagger UI 页面,但有“无法加载 API 定义”错误,如图所示。

还检查了 Apache 日志以查找错误,但我找不到任何错误。这些步骤是不正确的还是我遗漏了额外的步骤?

我愿意接受任何建议。提前致谢!

maven ubuntu tomcat apache-syncope
© www.soinside.com 2019 - 2024. All rights reserved.