gpt4 book ai didi

java - Atlassian Confluence SDK 启动应用程序 404 问题

转载 作者:行者123 更新时间:2023-12-04 02:32:38 25 4
gpt4 key购买 nike

启动 Confluence 插件时,我总是收到以下错误:

[INFO] [talledLocalContainer] 2020-08-06 20:48:58,116 ERROR [main] [ContainerBase.[Catalina].[localhost].[/confluence]] log Exception sending context initialized event to listener instance of class [com.atlassian.confluence.setup.ConfluenceConfigurationListener]
INFO] [talledLocalContainer] java.lang.ExceptionInInitializerError
[INFO] [talledLocalContainer] at com.ibm.icu.text.Collator.<clinit>(Collator.java:946)
[INFO] [talledLocalContainer] at java.lang.Class.forName0(Native Method)
[INFO] [talledLocalContainer] at java.lang.Class.forName(Class.java:264)
[INFO] [talledLocalContainer] at org.h2.value.CompareMode.<clinit>(CompareMode.java:57)
[INFO] [talledLocalContainer] at org.h2.engine.SessionRemote.<init>(SessionRemote.java:95)
[INFO] [talledLocalContainer] at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:116)
[INFO] [talledLocalContainer] Aug 06, 2020 8:48:58 PM org.apache.catalina.core.StandardContext startInternal
[INFO] [talledLocalContainer] at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:100)
[INFO] [talledLocalContainer] at org.h2.Driver.connect(Driver.java:69)
[INFO] [talledLocalContainer] SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
[INFO] [talledLocalContainer] at org.h2.server.TcpServer.initManagementDb(TcpServer.java:92)
[INFO] [talledLocalContainer] at org.h2.server.TcpServer.start(TcpServer.java:238)
[INFO] [talledLocalContainer] Aug 06, 2020 8:48:58 PM org.apache.catalina.core.StandardContext startInternal
[INFO] [talledLocalContainer] at org.h2.tools.Server.start(Server.java:484)
[INFO] [talledLocalContainer] SEVERE: Context [/confluence] startup failed due to previous errors
[...]
[INFO] [talledLocalContainer] Aug 06, 2020 8:49:07 PM org.apache.coyote.AbstractProtocol start
[INFO] [talledLocalContainer] INFO: Starting ProtocolHandler ["http-nio-1990"]
[INFO] [talledLocalContainer] Aug 06, 2020 8:49:07 PM org.apache.coyote.AbstractProtocol start
[INFO] [talledLocalContainer] INFO: Starting ProtocolHandler ["ajp-nio-8009"]
[INFO] [talledLocalContainer] Aug 06, 2020 8:49:07 PM org.apache.catalina.startup.Catalina start
[INFO] [talledLocalContainer] INFO: Server startup in 29245 ms
[INFO] [talledLocalContainer] Tomcat 9.x started on port [1990]
[INFO] confluence started successfully in 103s at http://localhost:1990/confluence
[INFO] Type Ctrl-C to shutdown gracefully
我在 Windows、Mac 和 Ubuntu 中尝试了几个插件。不幸的是,在启动当前和旧 SDK 时,我总是遇到此错误。我已经尝试过 Oracle 和 OpenJdk,这两个版本都是 8。
调用 http://127.0.0.1:1990/confluence时结果是404页面
我的设置
ATLAS Version:    8.2.2
ATLAS Home: /usr/share/atlassian-plugin-sdk-8.2.2
ATLAS Scripts: /usr/share/atlassian-plugin-sdk-8.2.2/bin
ATLAS Maven Home: /usr/share/atlassian-plugin-sdk-8.2.2/apache-maven-3.5.4
AMPS Version: 8.1.0
--------
Executing: /usr/share/atlassian-plugin-sdk-8.2.2/apache-maven-3.5.4/bin/mvn --version -gs /usr/share/atlassian-plugin-sdk-8.2.2/apache-maven-3.5.4/conf/settings.xml
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T20:33:14+02:00)
Maven home: /usr/share/atlassian-plugin-sdk-8.2.2/apache-maven-3.5.4
Java version: 1.8.0_265, vendor: Private Build, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-42-generic", arch: "amd64", family: "unix"
Tomcat 日志不包含任何错误...
您是否有同样的问题,或者您知道解决方案吗?

最佳答案

对于所有也有此问题的人 - 解决方案是使用早于 u261 的 Java 8 版本或大于 7.0.0 的 Confluence 版本

关于java - Atlassian Confluence SDK 启动应用程序 404 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63290222/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com