Jasperserver 8.1.1 fails to start with MappingException during various beans' creation

Hi!
Trying to startup Jasperserver after upgrade to 8.1.1 and now struggling with the error below:

2023-01-18T08:43:31,402 ERROR ContextLoader,main:313 - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'themeSource' defined in ServletContext resource [/WEB-INF/applicationContext-themes.xml]: Cannot resolve reference to bean 'themeCache' while setting bean property 'themeCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'themeCache' defined in ServletContext resource [/WEB-INF/applicationContext-themes.xml]: Cannot resolve reference to bean 'unsecureRepositoryService' while setting bean property 'repositoryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateRepositoryService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accessService' defined in ServletContext resource [/WEB-INF/applicationContext-events-logging.xml]: Cannot resolve reference to bean 'internalUserAuthorityService' while setting bean property 'persistentUserResolver'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mtUserAuthorityServiceTarget' defined in ServletContext resource [/WEB-INF/applicationContext-multiTenancy-security.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.boot.MappingException: Association [com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.persistent.RepoResource.favorites] references an unmapped entity [com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.persistent.RepoResource.favorites] : origin(null)

There are com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.persistent.RepoResource entries declared in ApplicationContext.xml, but couldn't find any references to RepoResource.favorites neither in WEB-INF/* nor in jasperserver database. Compared with healthy Jasperserver (non-upgraded) and it doesn't have these references too. If tis issue looks familiar or similar to someone, any information wound be appreciated

Thanks! 

anna.v.babich's picture
Joined: Jan 18 2023 - 8:47am
Last seen: 1 week 3 days ago

0 Answers:

No answers yet
Feedback
randomness