java.lang.IllegalArgumentException: Validation failed for query for method public abstract org.springframework.data.domain.Page com.zilliant.webnext.repository.CustomerRepository.findByNameOrNumber(java.lang.String,org.springframework.data.domain.Pageable)!

Stack Overflow | mentegy | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    spring data jpa @query parsing error

    Stack Overflow | 7 months ago | mentegy
    java.lang.IllegalArgumentException: Validation failed for query for method public abstract org.springframework.data.domain.Page com.zilliant.webnext.repository.CustomerRepository.findByNameOrNumber(java.lang.String,org.springframework.data.domain.Pageable)!

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Validation failed for query for method public abstract org.springframework.data.domain.Page com.zilliant.webnext.repository.CustomerRepository.findByNameOrNumber(java.lang.String,org.springframework.data.domain.Pageable)!

      at org.springframework.data.jpa.repository.query.SimpleJpaQuery.validateQuery()
    2. Spring Data JPA
      SimpleJpaQuery.<init>
      1. org.springframework.data.jpa.repository.query.SimpleJpaQuery.validateQuery(SimpleJpaQuery.java:92)[spring-data-jpa-1.9.4.RELEASE.jar:na]
      2. org.springframework.data.jpa.repository.query.SimpleJpaQuery.<init>(SimpleJpaQuery.java:62)[spring-data-jpa-1.9.4.RELEASE.jar:na]
      2 frames