anna.v.babich Posted January 18, 2023 Share Posted January 18, 2023 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 appreciatedThanks! Link to comment Share on other sites More sharing options...
Michael Bielkiewicz Posted February 16, 2023 Share Posted February 16, 2023 Do you see any other entries in your stacktrace? Sometimes the errors listed are red herrings and there may be more clues later on. I'm not seeing anything similar reported in our support site, so I'm not sure what this issue is, unfortunately. Anything unique with your setup - customizations that might be causing any issues? Link to comment Share on other sites More sharing options...
mann.coolboy Posted April 5, 2023 Share Posted April 5, 2023 Have you got any solution for this issue .. i am facing similar issue Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now