Closed ccit-spence closed 1 year ago
This should work:
<dependency>
<groupId>io.github.wimdeblauwe</groupId>
<artifactId>htmx-spring-boot-thymeleaf</artifactId>
<version>1.0.0</version>
</dependency>
See https://mvnrepository.com/artifact/io.github.wimdeblauwe/htmx-spring-boot-thymeleaf/1.0.0
The artifact without thymeleaf
does not exist for Spring Boot 2.x
It did, my error was coming from the Thymeleaf related package. Instead the project was upgraded to Spring 3. Everything works as expected now.
Trying to test both
htmx-spring-boot
andhtmx-spring-boot-thymleaf
.Results:
Could not find artifact io.github.wimdeblauwe:htmx-spring-boot:pom:1.0.0 in central (https://repo1.maven.org/maven2)
Spring boot Version 2.7.10, Java 17