Upgrading Confluence Causes 'java.lang.ClassNotFoundException - com.atlassian.confluence.user.ConfluenceLoginInterceptor'

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Server fails to start with the following error:

2010-07-08 07:10:29,839 ERROR [Spring executor 1] [plugin.osgi.factory.OsgiPlugin] onSpringContextFailed Unable to start the Spring context for plugin com.atlassian.confluence.plugins.confluence-sal-plugin
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationController' defined in URL [bundle://29.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exc
eption is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.RuntimeException: C
ould not load security config 'seraph-config.xml': Exception configuring from 'seraph-config.xml : com.atlassian.seraph.config.ConfigurationException: Could not getRequest service: com.atlassian.confluence.user.ConfluenceLoginInterceptor
: java.lang.ClassNotFoundException: com.atlassian.confluence.user.ConfluenceLoginInterceptor
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
...

原因

The 'login-logger' interceptor provided logging facilities for the Confluence login process. This included logging the last and previous login dates for a particular user as they log in to Confluence. The ConfluenceLoginInterceptor has been removed in Confluence and it's functionality migrated to the LoginManager. In some upgrade situations, the seraph-config.xml configuration file would have been migrated from an earlier version which has this 'login-logger' interceptor declared.

ソリューション

Modify the seraph-config.xml file and remove the following entry:

<interceptor name="login-logger" class="com.atlassian.confluence.user.ConfluenceLoginInterceptor"/>




























最終更新日 2019 年 8 月 12 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.