fail to update confluence from 7.13 to 7.19

tokonatsu yamamoto
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2023

I tried to update confluence 7.13 to 7.19. There was no problem during the installation and setting a database. After the database setup, an error was occurred. The error message was very long, so I copied beginning of the message below.

I reinstalled it several times, but same error was occurred. Please let me know if there is any solution.

 

========= the error massage ===============

The SystemInformationService could not be retrieved from the container. Therefore very limited information

is available in this error report.

The SystemInformationService could not be retrieved due to the following error:

java.lang.IllegalStateException: Spring Application context has not been set

Cause

Error creating bean with name 'webResourceManager' defined in class path resource

[services/webResourceServiceContext.xml]: Cannot resolve reference to bean

'confluenceWebResourceService' while setting constructor argument; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'confluenceWebResourceService' defined in class path resource [services/webResourceServiceContext.xml]:

Cannot resolve reference to bean 'stylesheetManager' while setting constructor argument; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'stylesheetManager' defined in class path resource [settingsContext.xml]: Cannot resolve reference to bean

'spaceManager' while setting bean property 'spaceManager'; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceManager'

defined in class path resource [services/contentServiceContext.xml]: Cannot resolve reference to bean

'pageTemplateManager' while setting bean property 'pageTemplateManager'; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'pageTemplateManager' defined in class path resource [services/contentServiceContext.xml]: Cannot resolve

reference to bean 'wikiToXhtmlMigrator' while setting bean property 'wikiToXhtmlMigrator'; nested

exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'wikiToXhtmlMigrator' defined in class path resource [contentMigrationContext.xml]: Cannot resolve

reference to bean 'migrationRenderer' while setting constructor argument; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'migrationRenderer' defined in class path resource [contentMigrationContext.xml]: Cannot resolve reference

to bean 'xhtmlMacroRendererComponent' while setting constructor argument with key [􀀆]; nested exception

is org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'xhtmlMacroRendererComponent' defined in class path resource [contentMigrationContext.xml]: Cannot

create inner bean 'macroMarshallingFactory$created#􀀂􀀂bfbd􀀇􀀁' while setting constructor argument; nested

exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'macroMarshallingFactory' defined in class path resource [renderingContext.xml]: Cannot create inner bean

Oops - an error has occurred http://localhost:8090/setup/setupdbtype.action?dbConfigI...

1 of 31 11/14/23, 07:32

'com.atlassian.confluence.content.render.xhtml.storage.macro.DelegatingStorageMacroMarshaller#􀀈􀀉b􀀊b􀀁􀀆􀀋'

of type [com.atlassian.confluence.content.render.xhtml.storage.macro.DelegatingStorageMacroMarshaller]

while setting constructor argument; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'com.atlassian.confluence.content.render.xhtml.storage.macro.DelegatingStorageMacroMarshaller#􀀈􀀉b􀀊b􀀁􀀆􀀋'

defined in class path resource [renderingContext.xml]: Cannot create inner bean

'com.atlassian.confluence.content.render.xhtml.storage.macro.StorageMacroV􀀂Marshaller#􀀈d􀀋􀀂􀀆d􀀈f' of type

[com.atlassian.confluence.content.render.xhtml.storage.macro.StorageMacroV􀀂Marshaller] while setting

constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error

creating bean with name

'com.atlassian.confluence.content.render.xhtml.storage.macro.StorageMacroV􀀂Marshaller#􀀈d􀀋􀀂􀀆d􀀈f'

defined in class path resource [renderingContext.xml]: Cannot create inner bean

'linkMarshallingFactory$created#􀀉􀀋fccc􀀆􀀆' while setting constructor argument; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'linkMarshallingFactory' defined in class path resource [renderingContext.xml]: Cannot create inner bean

'com.atlassian.confluence.content.render.xhtml.DelegatingLinkMarshaller#􀀈􀀈􀀈􀀇􀀆􀀂a' of type

[com.atlassian.confluence.content.render.xhtml.DelegatingLinkMarshaller] while setting constructor

argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating

bean with name 'com.atlassian.confluence.content.render.xhtml.DelegatingLinkMarshaller#􀀈􀀈􀀈􀀇􀀆􀀂a' defined

in class path resource [renderingContext.xml]: Cannot create inner bean

'viewLinkMarshallerFactory$created#􀀈􀀌􀀌b􀀉􀀃b􀀇' while setting constructor argument with key

[TypedStringValue: value [PageResourceIdentifier], target type [null]]; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'viewLinkMarshallerFactory' defined in class path resource [renderingContext.xml]: Cannot resolve reference

to bean 'viewLinkBodyMarshaller' while setting constructor argument; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'viewLinkSubMarshallerFactory' defined in class path resource [renderingContext.xml]: Cannot resolve

reference to bean 'viewEmbeddedImageResourceMarshaller' while setting constructor argument; nested

exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'viewEmbeddedImageResourceMarshaller' defined in class path resource [renderingContext.xml]: Cannot

resolve reference to bean 'viewAttachedImageResourceMarshaller' while setting constructor argument;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with

name 'viewAttachedImageResourceMarshaller' defined in class path resource [renderingContext.xml]:

Cannot resolve reference to bean 'attachmentResourceIdentifierResolver' while setting constructor

argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating

bean with name 'attachmentResourceIdentifierResolver' defined in class path resource

[renderingContext.xml]: Cannot resolve reference to bean 'attachmentOwningContentResolver' while setting

constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error

creating bean with name 'attachmentOwningContentResolver' defined in class path resource

[renderingContext.xml]: Cannot resolve reference to bean 'draftResourceIdentifierResolver' while setting

constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error

creating bean with name 'draftResourceIdentifierResolver' defined in class path resource

[renderingContext.xml]: Cannot resolve reference to bean 'draftManager' while setting constructor

argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating

bean with name 'draftManager' defined in class path resource [services/contentServiceContext.xml]: Cannot

resolve reference to bean 'draftManagerTarget' while setting bean property 'target'; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'draftManagerTarget' defined in class path resource [services/contentServiceContext.xml]: Cannot resolve

reference to bean 'draftDao' while setting bean property 'draftDao'; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'draftDao'

defined in class path resource [services/contentServiceContext.xml]: Cannot resolve reference to bean

'indexer' while setting bean property 'indexer'; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexer' defined

in class path resource [indexingSubsystemContext.xml]: Cannot resolve reference to bean 'changeIndexer'

Oops - an error has occurred http://localhost:8090/setup/setupdbtype.action?dbConfigI...

2 of 31 11/14/23, 07:32

while setting bean property 'changeIndexer'; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'changeIndexer'

defined in class path resource [indexingSubsystemContext.xml]: Cannot resolve reference to bean

'indexTaskFactory' while setting bean property 'indexTaskFactory'; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'indexTaskFactory' defined in class path resource [indexingSubsystemContext.xml]: Cannot resolve reference

to bean 'searchIndexAccessorBySearchIndex' while setting constructor argument; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'searchIndexAccessorBySearchIndex': Cannot resolve reference to bean 'contentSearchIndexAccessor' while

setting bean property 'sourceMap' with key [TypedStringValue: value [CONTENT], target type [null]]; nested

exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'contentSearchIndexAccessor' defined in class path resource [indexingSubsystemContext.xml]: Cannot

resolve reference to bean 'tenantedContentLuceneConnection' while setting constructor argument; nested

exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'tenantedContentLuceneConnection' defined in class path resource [indexingSubsystemContext.xml]: Bean

instantiation via factory method failed; nested exception is

org.springframework.beans.BeanInstantiationException: Failed to instantiate

[com.atlassian.bonnie.LuceneConnection]: Factory method 'createContentIndexConnection' threw

exception; nested exception is java.lang.NumberFormatException: For input string: "gen.L􀀆CK􀀃D"

Error creating bean with name 'webResourceManager' defined in class path resource

[services/webResourceServiceContext.xml]: Cannot resolve reference to bean

'confluenceWebResourceService' while setting constructor argument; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'confluenceWebResourceService' defined in class path resource [services/webResour

 

 

 

1 answer

0 votes
BHUSHAN PATIL
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 23, 2023

Hi tokonatsu yamamoto,

It appears that there might have been some misconfigurations during the installation process. To resolve this issue, please try the troubleshooting steps provided.

https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-spring-application-context-has-not-been-set-218278311.html

Regards,
Bhushan

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.19
TAGS
AUG Leaders

Atlassian Community Events