0

I have a Spring Boot application with Spring Data JPA starter at classpath:

compile('org.springframework.boot:spring-boot-starter-data-jpa')

I expected that org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration will be automatically loaded in such situation but I'm getting:

org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.domain.Pageable]: Specified class is an interface

trying to get response from one of my endpoints.

Why Spring Boot auto configuration does not work in this situation? Is it a normal behavior? Or maybe I missed something?

Piotr Pradzynski
  • 4,190
  • 5
  • 23
  • 43

0 Answers0