你好,今天你给了我一些提示关于cas overlay 5.3.16版本添加oauth2.0 (https://ask.csdn.net/questions/7755480?weChatOA=)
你的方案
添加:org.apereo.cas.authentication.AuthenticationServiceSelectionStrategy 这个bean没有被spring注入
解决:
查看一下配置文件中有没有扫描org.apereo.cas.authentication包,没有的话添加一下
我在spring.factories中添加了org.apereo.cas.authentication, 最后结果还是报了错误,
Caused by: java.lang.IllegalStateException: Unable to read meta-data for class org.apereo.cas.authentication
Caused by: java.io.FileNotFoundException: class path resource [org/apereo/cas/authentication.class] cannot be opened because it does not exist
我现在在spring.factories的配置如下
org.springframework.boot.autoconfigure.EnableAutoConfiguration=
org.apereo.cas.config.CasEmbeddedContainerTomcatConfiguration,
org.apereo.cas.config.CasEmbeddedContainerTomcatFiltersConfiguration,
org.apereo.cas.authentication
是否可以留个联系方式,方便请教。 我的qq:545339823