After upgrade to 3.2.4, when use @Query to query native sql will bootstrap fail, as the jsqlparser version too lower. Below is the error message. #3436
The called method's class hierarchy was loaded from the following locations:
Action:
Correct the classpath of your application so that it contains compatible versions of the classes org.springframework.data.jpa.repository.query.JSqlParserQueryEnhancer and net.sf.jsqlparser.statement.select.Select
data-jpa:3.2.4 requires jsqlparser:4.5 and cannot be used with jsqlparser:4.9 due to breaking changes within jsqparser.
Newer versions of jsqlparser will be supported by data-jpa:3.3 once released.
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
The following method did not exist:
The calling method's class, org.springframework.data.jpa.repository.query.JSqlParserQueryEnhancer, was loaded from the following location:
The called method's class, net.sf.jsqlparser.statement.select.Select, is available from the following locations:
The called method's class hierarchy was loaded from the following locations:
Action:
Correct the classpath of your application so that it contains compatible versions of the classes org.springframework.data.jpa.repository.query.JSqlParserQueryEnhancer and net.sf.jsqlparser.statement.select.Select