thymeleafバージョンの競合問題The method's class,orgを導入thymeleaf.spring5.SpringTemplateEngine, is available

3678 ワード

thymeleafバージョンの競合問題The method’s class,orgを導入する.thymeleaf.spring5.SpringTemplateEngine, is available


thymeleafテンプレートの導入時に競合する問題が発生しました.
Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

    org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration$ThymeleafDefaultConfiguration.templateEngine(ThymeleafAutoConfiguration.java:142)

The following method did not exist:

    'void org.thymeleaf.spring5.SpringTemplateEngine.setRenderHiddenMarkersBeforeCheckboxes(boolean)'

The method's class, org.thymeleaf.spring5.SpringTemplateEngine, is available from the following locations:<properties>
        <java.version>1.8</java.version>
        <!--    thymeleaf3    layout2    -->
        <springboot.thymeleaf.version>3.0.9.RELEASE</springboot.thymeleaf.version>
        <thymeleaf-layout-dialect.version>2.3.0</thymeleaf-layout-dialect.version>
    </properties>

ここで導入するのはspringbootです.thymeleaf.version.