Open xerZV opened 5 years ago
same issue, did you solved it ?
@JavaIlya Unfortunately I don't. Same issue with the example from chapter 7. Let me know if you find a solution.
@xerZV i changed java version to 11 and spring boot parent dependency to the last one and now its working, i dont know why but i hope it helps you and the next readers
@JavaIlya Oh, thank you. I changed the java version to <java.version>11</java.version>
and
`
Had similar problem,
just changed ch6\pom.xml doesn't work with 2.2.6 release which I believe is the latest now
`
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.8.RELEASE</version>
<relativePath/>
which caused issue with thymeleaf dependency so I changed it too here ch06\tacocloud-web\pom.xml
<artifactId>thymeleaf-extras-springsecurity5</artifactId>
`
after this it worked.
Had similar problem, just changed ch6\pom.xml doesn't work with 2.2.6 release which I believe is the latest now
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.8.RELEASE</version> <relativePath/> </parent>
which caused issue with thymeleaf dependency so I changed it too here ch06\tacocloud-web\pom.xml<dependency> <groupId>org.thymeleaf.extras</groupId> <artifactId>thymeleaf-extras-springsecurity5</artifactId> </dependency>
after this it worked.
Thanks! It did help!
Had similar problem, just changed ch6\pom.xml doesn't work with 2.2.6 release which I believe is the latest now
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.8.RELEASE</version> <relativePath/> </parent>
which caused issue with thymeleaf dependency so I changed it too here ch06\tacocloud-web\pom.xml<dependency> <groupId>org.thymeleaf.extras</groupId> <artifactId>thymeleaf-extras-springsecurity5</artifactId> </dependency>
after this it worked.
I've wasted my hole day to fight with it. Thanks for your solution. It works :-)