Spring Boot Security + Thymeleaf:缺少IProcessorDialect类

Spring Boot Security + Thymeleaf:缺少IProcessorDialect类,第1张

Spring Boot Security + Thymeleaf:缺少IProcessorDialect类

感谢Deinum先生的有用评论!

确实确实不支持“ Spring Security 4的Thymeleaf Extras”版本3.0.0。

我已经将POM文件中Thymeleaf thymeleaf-extras-springsecurity4
的Maven依赖版本从3.0.0更改为最新的2.xx版本(在本文发布时为2.1.2),并且此问题已解决。

从:

    <!-- http://mvnrepository.com/artifact/org.thymeleaf.extras/thymeleaf-extras-springsecurity4 -->    <dependency>        <groupId>org.thymeleaf.extras</groupId>        <artifactId>thymeleaf-extras-springsecurity4</artifactId>        <version>3.0.0.RELEASE</version>    </dependency>

至:

    <!-- http://mvnrepository.com/artifact/org.thymeleaf.extras/thymeleaf-extras-springsecurity4 -->    <dependency>        <groupId>org.thymeleaf.extras</groupId>        <artifactId>thymeleaf-extras-springsecurity4</artifactId>        <version>2.1.2.RELEASE</version>    </dependency>

问题不再出现,Web应用程序正常启动,并且可以识别标签:)



欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5621689.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-15
下一篇 2022-12-15

发表评论

登录后才能评论

评论列表(0条)

保存