aibdaiyun 2022-07-10 12:10 采纳率: 0%
浏览 17
已结题

cas overlay 5.3.16版本添加oauth2.0

你好,今天你给了我一些提示关于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

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 7月18日
    • 创建了问题 7月10日

    悬赏问题

    • ¥15 泥浆密度沿着管路的长度方向在不断变化,如何来表示泥浆密度随管路的变化
    • ¥15 关于#人工智能#的问题:(2)设计一个GUI,允许语音和文本实现谣言的检测
    • ¥50 请教 麒麟系统挂载怎么安装
    • ¥15 如何在ns3中实现路径的自由切换
    • ¥20 SpringBoot+Vue3
    • ¥15 IT从业者的调查问卷
    • ¥65 LineageOs-21.0系统编译问题
    • ¥30 关于#c++#的问题,请各位专家解答!
    • ¥15 App的会员连续扣费
    • ¥15 不同数据类型的特征融合应该怎么做