sparse91 / bonita-community-cas

CAS integration for bonita community 7.7.4
4 stars 4 forks source link

No qualifying bean on Bonita 7.12.1 #2

Open antonio-c-mariani opened 3 years ago

antonio-c-mariani commented 3 years ago

Hy

I'm triying to configure the CAS module on Bonita Community 7.12.1 and the following error occurs:

2021-07-30 22:21:08.898 -0300 WARNING: org.bonitasoft.engine.service.impl.BonitaSpringContext Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginService' defined in class path resource [bonita-tenant-community.xml]: Cannot resolve reference to bean 'casAuthenticationService' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'casAuthenticationService': Unsatisfied dependency expressed through field 'authenticationService'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.bonitasoft.engine.authentication.impl.AuthenticationServiceImpl' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

Any ideia?

David-USC commented 2 years ago

Unable to make it works on Bonita Community 2022.1 even with some changes in the pom.xml