[英]How to overcome thymeleaf template approve error?
从这个问题开始,我从这里开始使用Spring Boot MitreID OIDC应用程序。 运行正常
我正在尝试使用simple-web-app访问它。 Simple-web-app现在可以看到OIDC应用程序。 即使我已登录OIDC应用程序,它仍然要求用户/密码。 输入这些信息后,我现在得到以下错误。 我找不到任何帮助。 有人知道吗
2018-12-19 14:15:44.641 INFO 7632 --- [nio-8080-exec-1]
o.m.o.c.web.AuthenticationTimeStamper :
Successful Authentication of admin at Wed Dec 19 14:15:44 GMT 2018
2018-12-19 14:15:45.110 ERROR 7632 --- [nio-8080-exec-2] org.thymeleaf.TemplateEngine
: [THYMELEAF][http-nio-8080-exec-2] Exception processing template "approve": Exception
evaluating SpringEL expression: " scope.structured " (approve:146)
2018-12-19 14:15:45.117 ERROR 7632 --- [nio-8080-exec-2] o.a.c.c.C.[.[.[/].
[dispatcherServlet] : Servlet.service() for servlet dispatcherServlet threw exception
org.springframework.expression.spel.SpelEvaluationException: EL1008E:
Property or field 'structured' cannot be found on object of type
'org.mitre.oauth2.model.SystemScope' - maybe not public?
我认为您在最新的mitreid示例应用程序(就mitreid而言,这是最前沿的)与2年前的mitreid服务器的spring boot fork之间存在兼容性。 例如,在主要mitreid项目https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/commit/b17a7f43ae9a94592132a0336248631fe5914508上更改了SystemScope的模型
您可能会遇到很多这样的问题,因为spring-boot前叉没有保持最新状态
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.