{"id":672,"date":"2018-01-18T02:43:13","date_gmt":"2018-01-17T23:43:13","guid":{"rendered":"http:\/\/leodev.ru\/blog\/?p=672"},"modified":"2018-01-19T02:28:17","modified_gmt":"2018-01-18T23:28:17","slug":"spring-boot-%d0%b8-thymeleaf-jar","status":"publish","type":"post","link":"https:\/\/leodev.ru\/blog\/spring-boot\/spring-boot-%d0%b8-thymeleaf-jar\/","title":{"rendered":"\u041f\u0440\u0438\u043c\u0435\u0440 Spring Boot \u0438 Thymeleaf JAR"},"content":{"rendered":"<p>\u041f\u0440\u0438\u043c\u0435\u0440 <strong>SPRING BOOT<\/strong>\u00a0\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u043c\u00a0\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439\u00a0<strong>Tomcat<\/strong>\u00a0 \u0438 \u0434\u0432\u0438\u0436\u043a\u043e\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432\u00a0<strong>Thymeleaf <\/strong>\u00a0\u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0433\u043e <strong>JAR<\/strong>-\u0444\u0430\u0439\u043b\u0430.<\/p>\n<p>\u0422\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438:<\/p>\n<ol>\n<li>Spring Boot 1.5.9.RELEASE<\/li>\n<li>Spring 4.3.13.RELEASE<\/li>\n<li>Thymeleaf 2.1.6.RELEASE<\/li>\n<li>Tomcat Embed 8.5.6<\/li>\n<li>Maven 3<\/li>\n<li>Java 8<\/li>\n<\/ol>\n<p><!--more--><\/p>\n<h2>1. \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432<\/h2>\n<p><a href=\"http:\/\/leodev.ru\/blog\/wp-content\/uploads\/2018\/01\/59f5a-clip-29kb1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-687\" src=\"http:\/\/leodev.ru\/blog\/wp-content\/uploads\/2018\/01\/59f5a-clip-29kb1.png\" alt=\"\" width=\"482\" height=\"473\" srcset=\"https:\/\/leodev.ru\/blog\/wp-content\/uploads\/2018\/01\/59f5a-clip-29kb1.png 482w, https:\/\/leodev.ru\/blog\/wp-content\/uploads\/2018\/01\/59f5a-clip-29kb1-300x294.png 300w, https:\/\/leodev.ru\/blog\/wp-content\/uploads\/2018\/01\/59f5a-clip-29kb1-65x65.png 65w\" sizes=\"auto, (max-width: 482px) 85vw, 482px\" \/><\/a><\/p>\n<h2>2. \u0417\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438<\/h2>\n<p><em>\u041e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c\u00a0<strong>spring-boot-starter-thymeleaf <\/strong>\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c, \u044d\u0442\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0432\u0435\u0431 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 <strong>spring boot<\/strong> \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u0438\u0442 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e.<\/em><\/p>\n<p>\u042f \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u0435\u043a\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <strong>Spring boot initializer<\/strong> \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u0432 <strong>Intellij Idea <\/strong>\u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c <strong>webjars<\/strong> &#8212; <strong>bootstrap<\/strong><\/p>\n<p><a href=\"http:\/\/leodev.ru\/blog\/wp-content\/uploads\/2018\/01\/ba7e8-clip-53kb1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-680 aligncenter\" src=\"http:\/\/leodev.ru\/blog\/wp-content\/uploads\/2018\/01\/ba7e8-clip-53kb1-300x196.png\" alt=\"Spring initialiser\" width=\"300\" height=\"196\" srcset=\"https:\/\/leodev.ru\/blog\/wp-content\/uploads\/2018\/01\/ba7e8-clip-53kb1-300x196.png 300w, https:\/\/leodev.ru\/blog\/wp-content\/uploads\/2018\/01\/ba7e8-clip-53kb1-768x501.png 768w, https:\/\/leodev.ru\/blog\/wp-content\/uploads\/2018\/01\/ba7e8-clip-53kb1.png 906w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><\/p>\n<pre class=\"font-size:14 show-lang:2 lang:xhtml decode:true\" title=\"pom.xml\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\r\n&lt;project xmlns=\"http:\/\/maven.apache.org\/POM\/4.0.0\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\r\n\txsi:schemaLocation=\"http:\/\/maven.apache.org\/POM\/4.0.0 http:\/\/maven.apache.org\/xsd\/maven-4.0.0.xsd\"&gt;\r\n\t&lt;modelVersion&gt;4.0.0&lt;\/modelVersion&gt;\r\n\r\n\t&lt;groupId&gt;ru.leodev.examples.spring-boot&lt;\/groupId&gt;\r\n\t&lt;artifactId&gt;spring-boot-web-thymeleaf&lt;\/artifactId&gt;\r\n\t&lt;version&gt;0.0.1&lt;\/version&gt;\r\n\t&lt;packaging&gt;jar&lt;\/packaging&gt;\r\n\r\n\t&lt;name&gt;Spring Boot Web Thymeleaf Example&lt;\/name&gt;\r\n\t&lt;description&gt;Spring Boot Web Thymeleaf Example&lt;\/description&gt;\r\n\r\n\t&lt;parent&gt;\r\n\t\t&lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n\t\t&lt;artifactId&gt;spring-boot-starter-parent&lt;\/artifactId&gt;\r\n\t\t&lt;version&gt;1.5.9.RELEASE&lt;\/version&gt;\r\n\t\t&lt;relativePath\/&gt; &lt;!-- lookup parent from repository --&gt;\r\n\t&lt;\/parent&gt;\r\n\r\n\t&lt;properties&gt;\r\n\t\t&lt;project.build.sourceEncoding&gt;UTF-8&lt;\/project.build.sourceEncoding&gt;\r\n\t\t&lt;project.reporting.outputEncoding&gt;UTF-8&lt;\/project.reporting.outputEncoding&gt;\r\n\t\t&lt;java.version&gt;1.8&lt;\/java.version&gt;\r\n\t&lt;\/properties&gt;\r\n\r\n\t&lt;dependencies&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;spring-boot-starter-thymeleaf&lt;\/artifactId&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\r\n\t\t&lt;!-- \u0433\u043e\u0440\u044f\u0447\u0430\u044f \u043f\u043e\u0434\u043c\u0435\u043d\u0430, \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0439 \u043a\u0435\u0448 \u0434\u043b\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432, \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0439 live reload --&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;spring-boot-devtools&lt;\/artifactId&gt;\r\n\t\t\t&lt;scope&gt;runtime&lt;\/scope&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\r\n\t\t&lt;!-- \u041e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e, \u0447\u0442\u043e \u0431\u044b \u043d\u0435 \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0440\u0443\u0447\u043a\u0430\u043c\u0438 bootstrap--&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.webjars&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;bootstrap&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;3.3.7&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t&lt;\/dependencies&gt;\r\n\r\n\t&lt;build&gt;\r\n\t\t&lt;plugins&gt;\r\n\t\t\t&lt;plugin&gt;\r\n\t\t\t\t&lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n\t\t\t\t&lt;artifactId&gt;spring-boot-maven-plugin&lt;\/artifactId&gt;\r\n\t\t\t&lt;\/plugin&gt;\r\n\t\t&lt;\/plugins&gt;\r\n\t&lt;\/build&gt;\r\n\r\n\r\n&lt;\/project&gt;<\/pre>\n<p>[stextbox id=&#8217;info&#8217; caption=&#8217;Spring-boot-maven-plugin&#8217;]\u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u00a0\u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0432\u0430\u0448\u0435\u043c\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430\u043f\u0440\u044f\u043c\u044e \u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u00a0\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u0420\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0445 jar\/war \u0444\u0430\u0439\u043b\u043e\u0432 (Executable)[\/stextbox]<\/p>\n<p>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043f\u043e \u043c\u043e\u0435\u043c\u0443 \u043c\u043d\u0435\u043d\u0438\u044e \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435\u0437\u0430\u043c\u0435\u043d\u0438\u043c \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439<\/p>\n<p>[stextbox id=&#8217;info&#8217; caption=&#8217;spring-boot-devtools&#8217;]\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u043a\u043e\u0434\u0435 \u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445, \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442 \u0438\u0445 \u0432 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 (hot reload) \u043f\u0440\u0438\u0447\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e &#171;\u0431\u043e\u0435\u0432\u0443\u044e&#187; \u0447\u0430\u0441\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0422\u0430\u043a \u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e \u0441\u00a0<strong><em>Live Reload<\/em><\/strong>\u00a0\u0438 \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442 \u0432 IDEA, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u043e\u043c \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435.[\/stextbox]<\/p>\n<h2>3. Spring Boot<\/h2>\n<p>3.1 \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 <strong>spring boot<\/strong> \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044e\u00a0\u00a0<strong>@SpringBootApplication<\/strong><\/p>\n<pre class=\"lang:java decode:true\" title=\"SpringBootWebThymeleafApplication.java\">package ru.leodev.examples.springboot.springbootwebthymeleaf;\r\n\r\nimport org.springframework.boot.SpringApplication;\r\nimport org.springframework.boot.autoconfigure.SpringBootApplication;\r\n\r\n@SpringBootApplication\r\npublic class SpringBootWebThymeleafApplication {\r\n\r\n\tpublic static void main(String[] args) {\r\n\t\tSpringApplication.run(SpringBootWebThymeleafApplication.class, args);\r\n\t}\r\n}\r\n<\/pre>\n<p>3.2 \u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043d\u0430 <strong>spring<\/strong><\/p>\n<pre class=\"lang:java decode:true\" title=\"ExampleController.java\">package ru.leodev.examples.springboot.springbootwebthymeleaf.controller;\r\n\r\nimport org.springframework.beans.factory.annotation.Value;\r\nimport org.springframework.stereotype.Controller;\r\nimport org.springframework.web.bind.annotation.RequestMapping;\r\n\r\nimport java.util.Map;\r\n\r\n@Controller\r\npublic class ExampleController {\r\n    \/\/ \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u043e\u0439 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438\u0437 application.properties \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e \u0432 \u043f\u043e\u043b\u0435 message\r\n    @Value(\"${welcome.message:test}\")\r\n    private String message = \"Hello World\";\r\n\r\n    @RequestMapping(\"\/\")\r\n    public String home(Map&lt;String, Object&gt; model) {\r\n        model.put(\"message\", this.message);\r\n        return \"home\";\r\n    }\r\n\r\n}\r\n<\/pre>\n<h2>4. Thymeleaf + \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0438 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0430\u0439\u043b\u044b<\/h2>\n<p>4.1 \u0427\u0442\u043e \u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 Thymeleaf , \u043c\u044b \u043f\u043e\u043b\u043e\u0436\u0438\u043c \u0438\u0445 \u0432\u00a0<strong>src\/main\/resources\/<span style=\"color: #993300;\">templates<\/span>\/<\/strong><\/p>\n<pre class=\"lang:xhtml decode:true\" title=\"src\/main\/resources\/templates\/home.html\">&lt;!DOCTYPE HTML&gt;\r\n&lt;html xmlns:th=\"http:\/\/www.thymeleaf.org\"&gt;\r\n&lt;head&gt;\r\n    &lt;title&gt;Spring Boot Thymeleaf \u041f\u0440\u0438\u0432\u0435\u0442 \u041c\u0438\u0440 \u041f\u0440\u0438\u043c\u0435\u0440&lt;\/title&gt;\r\n    &lt;meta http-equiv=\"Content-Type\" content=\"text\/html; charset=UTF-8\" \/&gt;\r\n    &lt;link rel=\"stylesheet\" type=\"text\/css\" href=\"webjars\/bootstrap\/3.3.7\/css\/bootstrap.min.css\" \/&gt;\r\n    &lt;link rel=\"stylesheet\" th:href=\"@{\/css\/main.css}\" href=\"..\/..\/css\/main.css\" \/&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n\r\n&lt;nav class=\"navbar navbar-inverse\"&gt;\r\n    &lt;div class=\"container\"&gt;\r\n        &lt;div class=\"navbar-header\"&gt;\r\n            &lt;a class=\"navbar-brand\" href=\"#\"&gt;Spring Boot&lt;\/a&gt;\r\n        &lt;\/div&gt;\r\n        &lt;div id=\"navbar\" class=\"collapse navbar-collapse\"&gt;\r\n            &lt;ul class=\"nav navbar-nav\"&gt;\r\n                &lt;li class=\"active\"&gt;&lt;a href=\"#\"&gt;\u0414\u043e\u043c\u043e\u0439&lt;\/a&gt;&lt;\/li&gt;\r\n                &lt;li&gt;&lt;a href=\"#about\"&gt;\u0415\u0449\u0435 \u043e\u0434\u043d\u0430 \u0441\u0441\u044b\u043b\u043a\u0430&lt;\/a&gt;&lt;\/li&gt;\r\n            &lt;\/ul&gt;\r\n        &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n&lt;\/nav&gt;\r\n\r\n&lt;div class=\"container\"&gt;\r\n    &lt;div class=\"starter-template\"&gt;\r\n        &lt;h1&gt;Spring Boot Web Thymeleaf Example&lt;\/h1&gt;\r\n        &lt;h2&gt;\r\n            &lt;span th:text=\"'Message: ' + ${message}\"&gt;&lt;\/span&gt;\r\n        &lt;\/h2&gt;\r\n    &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n&lt;!-- \/.container --&gt;\r\n&lt;!-- JS \u043b\u0443\u0447\u0448\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u043e\u043d\u0446\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \u0447\u0442\u043e \u0431\u044b \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0432\u0441\u044f DOM \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0443\u0436\u0435 \u0431\u044b\u043b\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u0430 --&gt;\r\n&lt;script type=\"text\/javascript\" src=\"webjars\/bootstrap\/3.3.7\/js\/bootstrap.min.js\"&gt;&lt;\/script&gt;\r\n\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>4.2\u00a0\u0421\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0430\u0439\u043b\u044b, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a \u0441\u0442\u0438\u043b\u0438 <strong>CSS<\/strong> \u0438\u043b\u0438 <strong>Javascript\u00a0<\/strong>\u043a\u043b\u0430\u0434\u0435\u043c \u0432\u00a0<strong>\/src\/main\/resources\/static\/<\/strong><\/p>\n<p><em>\u0427\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u044f \u0441\u043e\u0437\u0434\u0430\u044e \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u043d\u0438\u0445 \u0441\u0432\u043e\u0439 \u043f\u043e\u0434\u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043c\u0435\u043d\u044f\u044e \u0435\u0433\u043e \u0432 \u043f\u0443\u0442\u0438 html \u0438\u043c\u043f\u043e\u0440\u0442\u0430<\/em><\/p>\n<pre class=\"lang:css decode:true\" title=\"\/src\/main\/resources\/static\/css\/main.css\">h1{\r\n    color: #000080;\r\n}\r\n\r\nh2{\r\n    color: #ff6048;\r\n}<\/pre>\n<p>4.3 \u0412\u0441\u0435 properties \u0444\u0430\u0439\u043b\u044b \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 \u043a\u043e\u0440\u043d\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432:<strong>\u00a0\/src\/main\/resources\/<\/strong><\/p>\n<p>\u0432 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 spring \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b \u0435\u0433\u043e \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u043b\u0438\u0448\u044c \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0434\u043b\u044f\u00a0<a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%92%D0%BD%D0%B5%D0%B4%D1%80%D0%B5%D0%BD%D0%B8%D0%B5_%D0%B7%D0%B0%D0%B2%D0%B8%D1%81%D0%B8%D0%BC%D0%BE%D1%81%D1%82%D0%B8\" target=\"_blank\" rel=\"noopener\">\u0412\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u044f \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438(DI)<\/a><\/p>\n<pre class=\"toolbar:2 lang:yaml decode:true\">welcome.message: Injected Message!<\/pre>\n<p>[stextbox id=&#8217;black&#8217;]\u041f\u0440\u043e\u0447\u0442\u0438\u0442\u0435 \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e \u043e <a href=\"http:\/\/docs.spring.io\/spring-boot\/docs\/current\/reference\/htmlsingle\/#boot-features-spring-mvc-static-content\">Spring Boot Serving static content<\/a> \u0434\u043b\u044f \u043e\u0431\u0449\u0435\u0433\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438 \u0432 <strong>Spring<\/strong>[\/stextbox]<\/p>\n<h2>5. \u0417\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/h2>\n<p>5.1 \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043d\u0430\u0448\u0435 spring boot \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435<\/p>\n<pre class=\"toolbar:2 toolbar-overlay:false lang:java decode:true \" title=\"project$ mvn spring-boot:run\">[INFO] Scanning for projects...\r\n[INFO]\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building Spring Boot Web Thymeleaf Example 0.0.1\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO]\r\n[INFO] &gt;&gt;&gt; spring-boot-maven-plugin:1.5.9.RELEASE:run (default-cli) &gt; test-compile @ spring-boot-web-thymeleaf &gt;&gt;&gt;\r\n[INFO]\r\n[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ spring-boot-web-thymeleaf ---\r\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\r\n[INFO] Copying 1 resource\r\n[INFO] Copying 2 resources\r\n[INFO]\r\n[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ spring-boot-web-thymeleaf ---\r\n[INFO] Changes detected - recompiling the module!\r\n[INFO] Compiling 2 source files to D:\\workspace\\JAVA\\TESTAPPS\\spring-boot-examples-ld\\spring-boot-web-thymeleaf\\target\\classes\r\n[INFO]\r\n[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ spring-boot-web-thymeleaf ---\r\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\r\n[INFO] skip non existing resourceDirectory D:\\workspace\\JAVA\\TESTAPPS\\spring-boot-examples-ld\\spring-boot-web-thymeleaf\\src\\test\\resources\r\n[INFO]\r\n[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ spring-boot-web-thymeleaf ---\r\n[INFO] No sources to compile\r\n[INFO]\r\n[INFO] &lt;&lt;&lt; spring-boot-maven-plugin:1.5.9.RELEASE:run (default-cli) &lt; test-compile @ spring-boot-web-thymeleaf &lt;&lt;&lt;\r\n[INFO]\r\n[INFO] --- spring-boot-maven-plugin:1.5.9.RELEASE:run (default-cli) @ spring-boot-web-thymeleaf ---\r\n[INFO] Attaching agents: []\r\n02:29:44.859 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Included patterns for restart : []\r\n02:29:44.861 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Excluded patterns for restart : [\/spring-boot-starter\/target\/classes\/, \/spring-boot-autoconfigure\/target\/classes\/, \/spring-boot-starter-[\\w-]+\/, \/spring-boot\/target\/classes\/\r\n, \/spring-boot-actuator\/target\/classes\/, \/spring-boot-devtools\/target\/classes\/]\r\n02:29:44.862 [main] DEBUG org.springframework.boot.devtools.restart.ChangeableUrls - Matching URLs for reloading : [file:\/D:\/workspace\/JAVA\/TESTAPPS\/spring-boot-examples-ld\/spring-boot-web-thymeleaf\/target\/classes\/]\r\n\r\n  .   ____          _            __ _ _\r\n \/\\\\ \/ ___'_ __ _ _(_)_ __  __ _ \\ \\ \\ \\\r\n( ( )\\___ | '_ | '_| | '_ \\\/ _` | \\ \\ \\ \\\r\n \\\\\/  ___)| |_)| | | | | || (_| |  ) ) ) )\r\n  '  |____| .__|_| |_|_| |_\\__, | \/ \/ \/ \/\r\n =========|_|==============|___\/=\/_\/_\/_\/\r\n :: Spring Boot ::        (v1.5.9.RELEASE)\r\n\r\n2018-01-18 02:29:45.106  INFO 13724 --- [  restartedMain] .e.s.s.SpringBootWebThymeleafApplication : Starting SpringBootWebThymeleafApplication on LEOGAME-PC with PID 13724 (D:\\workspace\\JAVA\\TESTAPPS\\spring-boot-examples-ld\\spring-boot-web-thymeleaf\\target\\cla\r\nsses started by LEO in D:\\workspace\\JAVA\\TESTAPPS\\spring-boot-examples-ld\\spring-boot-web-thymeleaf)\r\n2018-01-18 02:29:45.106  INFO 13724 --- [  restartedMain] .e.s.s.SpringBootWebThymeleafApplication : No active profile set, falling back to default profiles: default\r\n2018-01-18 02:29:45.293  INFO 13724 --- [  restartedMain] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@d33dc6: startup date [Thu Jan 18 02:29:45 MSK 2018]; root of\r\ncontext hierarchy\r\n2018-01-18 02:29:46.458  INFO 13724 --- [  restartedMain] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)\r\n2018-01-18 02:29:46.467  INFO 13724 --- [  restartedMain] o.apache.catalina.core.StandardService   : Starting service [Tomcat]\r\n2018-01-18 02:29:46.468  INFO 13724 --- [  restartedMain] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat\/8.5.23\r\n2018-01-18 02:29:46.550  INFO 13724 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[\/]       : Initializing Spring embedded WebApplicationContext\r\n2018-01-18 02:29:46.550  INFO 13724 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 1260 ms\r\n2018-01-18 02:29:46.643  INFO 13724 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Mapping servlet: 'dispatcherServlet' to [\/]\r\n2018-01-18 02:29:46.645  INFO 13724 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [\/*]\r\n2018-01-18 02:29:46.645  INFO 13724 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [\/*]\r\n2018-01-18 02:29:46.645  INFO 13724 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [\/*]\r\n2018-01-18 02:29:46.645  INFO 13724 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [\/*]\r\n2018-01-18 02:29:46.844  INFO 13724 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@d33dc6: startup date [Thu Jan 18 02:29:45\r\n MSK 2018]; root of context hierarchy\r\n2018-01-18 02:29:46.895  INFO 13724 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped \"{[\/]}\" onto public java.lang.String ru.leodev.examples.springboot.springbootwebthymeleaf.controller.ExampleController.home(java.util.Map&lt;java.lang.Strin\r\ng, java.lang.Object&gt;)\r\n2018-01-18 02:29:46.897  INFO 13724 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped \"{[\/error]}\" onto public org.springframework.http.ResponseEntity&lt;java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt; org.springframework.boot.autoconfigur\r\ne.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)\r\n2018-01-18 02:29:46.898  INFO 13724 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped \"{[\/error],produces=[text\/html]}\" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorControlle\r\nr.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)\r\n2018-01-18 02:29:46.918  INFO 13724 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [\/webjars\/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]\r\n2018-01-18 02:29:46.919  INFO 13724 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [\/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]\r\n2018-01-18 02:29:46.942  INFO 13724 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [\/**\/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]\r\n2018-01-18 02:29:47.233  INFO 13724 --- [  restartedMain] o.s.b.d.a.OptionalLiveReloadServer       : LiveReload server is running on port 35729\r\n2018-01-18 02:29:47.309  INFO 13724 --- [  restartedMain] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup\r\n2018-01-18 02:29:47.352  INFO 13724 --- [  restartedMain] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)\r\n2018-01-18 02:29:47.355  INFO 13724 --- [  restartedMain] .e.s.s.SpringBootWebThymeleafApplication : Started SpringBootWebThymeleafApplication in 2.484 seconds (JVM running for 2.773)<\/pre>\n<p>5.2 \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c\u00a0<em>http:\/\/localhost:8080<\/em><\/p>\n<figure id=\"attachment_686\" aria-describedby=\"caption-attachment-686\" style=\"width: 741px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/leodev.ru\/blog\/wp-content\/uploads\/2018\/01\/5fd49-clip-59kb1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-686\" src=\"http:\/\/leodev.ru\/blog\/wp-content\/uploads\/2018\/01\/5fd49-clip-59kb1.png\" alt=\"Spring Boot Web Thymeleaf Example\" width=\"741\" height=\"296\" srcset=\"https:\/\/leodev.ru\/blog\/wp-content\/uploads\/2018\/01\/5fd49-clip-59kb1.png 741w, https:\/\/leodev.ru\/blog\/wp-content\/uploads\/2018\/01\/5fd49-clip-59kb1-300x120.png 300w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-686\" class=\"wp-caption-text\">Spring Boot Web Thymeleaf Example<\/figcaption><\/figure>\n<h2>6. \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 JAR<\/h2>\n<p>6.1 \u0423\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0433\u043e <strong>JAR<\/strong> \u0444\u0430\u0439\u043b\u0430.<\/p>\n<pre class=\"toolbar:2 lang:java decode:true\" title=\"project$ mvn clean package\">D:\\workspace\\JAVA\\TESTAPPS\\spring-boot-examples-ld\\spring-boot-web-thymeleaf&gt;mvn clean package\r\n[INFO] Scanning for projects...\r\n[INFO]\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building Spring Boot Web Thymeleaf Example 0.0.1\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO]\r\n[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ spring-boot-web-thymeleaf ---\r\n[INFO] Deleting D:\\workspace\\JAVA\\TESTAPPS\\spring-boot-examples-ld\\spring-boot-web-thymeleaf\\target\r\n[INFO]\r\n[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ spring-boot-web-thymeleaf ---\r\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\r\n[INFO] Copying 1 resource\r\n[INFO] Copying 2 resources\r\n[INFO]\r\n[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ spring-boot-web-thymeleaf ---\r\n[INFO] Changes detected - recompiling the module!\r\n[INFO] Compiling 2 source files to D:\\workspace\\JAVA\\TESTAPPS\\spring-boot-examples-ld\\spring-boot-web-thymeleaf\\target\\classes\r\n[INFO]\r\n[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ spring-boot-web-thymeleaf ---\r\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\r\n[INFO] skip non existing resourceDirectory D:\\workspace\\JAVA\\TESTAPPS\\spring-boot-examples-ld\\spring-boot-web-thymeleaf\\src\\test\\resources\r\n[INFO]\r\n[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ spring-boot-web-thymeleaf ---\r\n[INFO] No sources to compile\r\n[INFO]\r\n[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ spring-boot-web-thymeleaf ---\r\n[INFO] No tests to run.\r\n[INFO]\r\n[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ spring-boot-web-thymeleaf ---\r\n[INFO] Building jar: D:\\workspace\\JAVA\\TESTAPPS\\spring-boot-examples-ld\\spring-boot-web-thymeleaf\\target\\spring-boot-web-thymeleaf-0.0.1.jar\r\n[INFO]\r\n[INFO] --- spring-boot-maven-plugin:1.5.9.RELEASE:repackage (default) @ spring-boot-web-thymeleaf ---\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD SUCCESS\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 2.341 s\r\n[INFO] Finished at: 2018-01-18T02:36:49+03:00\r\n[INFO] Final Memory: 20M\/48M\r\n[INFO] ------------------------------------------------------------------------\r\n<\/pre>\n<p>6.2 \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0435\u0449\u0435 \u0440\u0430\u0437\u00a0<em>http:\/\/localhost:8080<\/em><\/p>\n<pre class=\"toolbar:2 lang:java decode:true\">project$ java -jar target\/spring-boot-web-thymeleaf-1.0.jar\r\n<\/pre>\n<p><strong>\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438:<\/strong> <a href=\"https:\/\/github.com\/leodestroy\/spring-boot-examples-ld\/tree\/master\/spring-boot-web-thymeleaf\">spring-boot-web-thymeleaf<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0438\u043c\u0435\u0440 SPRING BOOT\u00a0\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u043c\u00a0\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439\u00a0Tomcat\u00a0 \u0438 \u0434\u0432\u0438\u0436\u043a\u043e\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432\u00a0Thymeleaf \u00a0\u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0433\u043e JAR-\u0444\u0430\u0439\u043b\u0430. \u0422\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438: Spring Boot 1.5.9.RELEASE Spring 4.3.13.RELEASE Thymeleaf 2.1.6.RELEASE Tomcat Embed 8.5.6 Maven 3 Java 8<\/p>\n","protected":false},"author":1,"featured_media":688,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[207],"tags":[74,208,146,209,196,210,198],"class_list":["post-672","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-spring-boot","tag-java","tag-live-reload","tag-spring","tag-spring-boot-devtools","tag-springboot","tag-thymeleaf","tag-webjars"],"_links":{"self":[{"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/posts\/672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/comments?post=672"}],"version-history":[{"count":17,"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/posts\/672\/revisions"}],"predecessor-version":[{"id":767,"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/posts\/672\/revisions\/767"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/media\/688"}],"wp:attachment":[{"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/media?parent=672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/categories?post=672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/tags?post=672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}