【问题标题】:how to use adminfaces spring boot master?如何使用adminfaces spring boot master?
【发布时间】:2021-09-27 00:08:44
【问题描述】:

我是 Spring Boot 新手,我正在尝试使用主仪表板成为管理员面孔 Spring Boot Master。 我从 GitHub 下载项目,https://github.com/miltonbo/adminfaces-spring-boot 当我运行该项目时,我得到了这个错误:“应用程序启动失败


说明:

com.github.adminfaces.template.session.AdminFilter 中的字段 adminSession 需要一个无法找到的“com.github.adminfaces.template.session.AdminSession”类型的 bean。

注入点有以下注解: -@org.springframework.beans.factory.annotation.Autowired(required=true) - @org.springframework.beans.factory.annotation.Qualifier(value="loginMB")

找到以下候选但无法注入: - 用户定义的bean - 用户自定义bean

行动:

考虑重新访问上面的条目或在您的配置中定义一个 'com.github.adminfaces.template.session.AdminSession' 类型的 bean。” 我只是下载它并在eclipse上运行它。 我该如何纠正? 再加上resource下有admin.properties,但是这个项目没有application.properties,是不是应该做resource下的application.properties? 如果有一个可以轻松工作的 Spring Boot Admin Face Master,请转发给我一个链接? 谢谢

【问题讨论】:

    标签: spring spring-boot adminfaces


    【解决方案1】:

    对于 AdminFaces 和 SpringBoot 集成,您需要使用 JoinFaces,请在此处查看 AdminFaces SpringBoot 示例应用程序:https://github.com/adminfaces/admin-starter-springboot

    【讨论】:

      猜你喜欢
      • 2017-09-01
      • 2016-03-07
      • 2014-08-02
      • 2023-03-16
      • 1970-01-01
      • 2015-05-13
      • 1970-01-01
      • 1970-01-01
      • 2020-09-12
      相关资源
      最近更新 更多