Closed luizleite-hotmart closed 1 month ago
jsqlparser is a test-only dependency, you can safely exclude it on Spring Data JDBC. It should never been a production dependency.
hey, thanks for the explanation! for anyone landing here with similar issue, besides read carefully the related issues, you can add the following dependency explicitly until it gets resolved on next release:
testImplementation("com.github.jsqlparser", "jsqlparser", "4.9")
If you have both
spring-boot-starter-data-r2dbc
andspring-boot-starter-data-jpa
in the same project, these two libraries in version 3.3 of Spring Boot usecom.github.jsqlparser:jsqlparser
but in different versions. This causes some methods that were added in version 4.9 to not exist in version 4.6, such asnet.sf.jsqlparser.statement.select.Values