Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 grails 3 spring security rest...application.yaml 中的配置没有被拾取但是当我尝试使用 application.groovy 时一切正常。请帮助我感到困惑。
您收到错误消息,您无法登录吗?您是否从早期版本的 grails 迁移并将格式从 groovy 复制到 yml?我在 yml 中按照以下行进行了配置,其中包含 4 个空格(而不是制表符)用于嵌套。
grails: plugin: springsecurity: active: true useSecurityEventListener: false
另外我注意到您已将 application.yaml 指定为文件名,不确定是否有任何区别,但我的文件中没有“a”,即 application.yml