I'am facing the same error. Did you fix it ? On Wednesday, August 18, 2021 at 1:15:17 AM UTC [email protected] wrote:
> I was trying to setup cas-management with > https://github.com/apereo/cas-management-gradle-overlay at branch 6.3.x, > ./gradlew run give me following warnning: > > 2021-08-18 09:03:29,028 INFO > [org.apereo.cas.configuration.DefaultCasConfigurationPropertiesSourceLocator] > - <Configuration directory [null] is not a directory or cannot be found at > the specific pat > h>:run > 2021-08-18 09:03:29,277 INFO > [org.apereo.cas.mgmt.web.CasManagementWebApplication] - <The following > profiles are active: standalone> > 2021-08-18 09:04:06,976 INFO > [org.springframework.boot.web.embedded.tomcat.TomcatWebServer] - <Tomcat > initialized with port(s): 8443 (https)> > 2021-08-18 09:04:55,352 INFO > [org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext] > > - <Root WebApplicationContext: initialization completed in 84974 ms> > 2021-08-18 09:04:58,685 WARN > [org.apereo.cas.mgmt.web.CasManagementWebApplicationContext] - <Exception > encountered during context initialization - cancelling refresh attempt: > org.springframework.bea > ns.factory.UnsatisfiedDependencyException: Error creating bean with name > 'org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration': > > Unsatisfied dependenc > y expressed through method 'setConfigurers' parameter 0; nested exception > is org.springframework.beans.factory.UnsatisfiedDependencyException: Error > creating bean with name 'casManagementWebAppConfi > guration': Unsatisfied dependency expressed through field > 'authenticationClients'; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'authent > icationClients' defined in class path resource > [org/apereo/cas/mgmt/config/CasManagementAuthenticationConfiguration.class]: > Bean instantiation via factory method failed; nested exception is org.spri > ngframework.beans.BeanInstantiationException: Failed to instantiate > [java.util.List]: Factory method 'authenticationClients' threw exception; > nested exception is org.springframework.beans.factory.Be > anCreationException: Error creating bean with name > 'authorizationGenerator' defined in class path resource > [org/apereo/cas/mgmt/config/CasManagementAuthorizationConfiguration.class]: > Bean instantiat > ion via factory method failed; nested exception is > org.springframework.beans.BeanInstantiationException: Failed to instantiate > [org.pac4j.core.authorization.generator.AuthorizationGenerator]: Factor > y method 'authorizationGenerator' threw exception; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'springSecurityPropertiesAuthorizationGe > nerator' defined in class path resource > [org/apereo/cas/mgmt/config/CasManagementAuthorizationConfiguration.class]: > Bean instantiation via factory method failed; nested exception is > org.springframew > ork.beans.BeanInstantiationException: Failed to instantiate > [org.pac4j.core.authorization.generator.AuthorizationGenerator]: Factory > method 'springSecurityPropertiesAuthorizationGenerator' threw exc > eption; nested exception is java.io.FileNotFoundException: class path > resource [users.json] cannot be resolved to absolute file path because it > does not reside in the file system: jar:file:/mnt/c/Us > > ers/kyle/Documents/workspace/ideaprojects/cas/cas-management-overlay/build/libs/app.war!/WEB-INF/classes!/users.json> > > I haddn't make any change, what should I do? > > PS: I found cas documentation are really very confusing, there are always > surprises waiting for you. > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/de05e72b-374c-451b-8452-55aeb57d3eb8n%40apereo.org.
