Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
0f97ccf2
Commit
0f97ccf2
authored
Oct 06, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify dependency override instructions for Thymeleaf 3
Closes gh-7097
parent
e9f43f30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
howto.adoc
spring-boot-docs/src/main/asciidoc/howto.adoc
+6
-3
No files found.
spring-boot-docs/src/main/asciidoc/howto.adoc
View file @
0f97ccf2
...
...
@@ -1457,9 +1457,9 @@ have been applied from the auto-configuration:
[[howto-use-thymeleaf-3]]
=== Use Thymeleaf 3
By default, `spring-boot-starter-thymeleaf` uses Thymeleaf 2.1.
You can use Thymeleaf
3 by overriding the `thymeleaf.version` and `thymeleaf-layout-dialect.version` properties,
for example:
By default, `spring-boot-starter-thymeleaf` uses Thymeleaf 2.1.
If you are using the
`spring-boot-starter-parent`, you can use Thymeleaf 3 by overriding the
`thymeleaf.version` and `thymeleaf-layout-dialect.version` properties,
for example:
[source,xml,indent=0,subs="verbatim,quotes,attributes"]
----
...
...
@@ -1469,6 +1469,9 @@ for example:
</dependency>
----
NOTE: if you are managing dependencies yourself, look at `spring-boot-dependencies` for
the list of artifacts that are related to those two versions.
To avoid a warning message about the HTML 5 template mode being deprecated and the HTML
template mode being used instead, you may also want to explicitly configure
`spring.thymeleaf.mode` to be `HTML`, for example:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment