Error processing condition on org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration$ThymeleafWebMvcConfiguration.resourceUrlEncodingFilter


在使用springboot配置thymeleaf的時候遇到這個錯誤

Error processing condition on org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration$ThymeleafWebMvcConfiguration.resourceUrlEncodingFilter

 

后來發現是

<thymeleaf.version>3.0.9.RELEASE</thymeleaf.version>
<!--布局功能支持 -->
<thymeleaf-layout-dialect.version>2.2.2</thymeleaf-layout-dialect.version>

這兩個配置不符合,挺詭異的,按照springboot官方文檔,thymeleaf3.0以上一定要thymeleaf-layout-dialect2.0以上我之前用的並不是這兩個版本,
但也符合規定,運行就會報上面的錯誤,我改成上面的版本號后就正常了。。。。。。

日常記錄



免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration$ThymeleafDefaultConfiguration.templateEngine springboot啟動報Error processing condition on org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration Spring Cloud 報錯:Error processing condition on org.springframework.boot.autoconfigure.freemarker.FreeMarkerServletWebConfiguration.freeMarkerConfigurer java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration.propertySourcesPlaceholderConfigurer springboot 配置jpa啟動報Error processing condition on org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration.pageableCustomizer java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigur Error creating bean with name 'persistenceExceptionTranslationPostProcessor' defined in class path resource [org/springframework/boot/autoconfigure/dao/PersistenceExceptionTranslationAutoConfiguration Springboot:Cannot resolve org.springframework.boot:spring-boot-autoconfigure:2.6.2 Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method fail idea運行springboot項目報錯Error:(4, 46) java: 程序包org.springframework.boot.autoconfigure不存在的解決方法
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM