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)!

Solutions on the web8619

  • via Stack Overflow by mentegy
    , 10 months ago
    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)!
  • Validation failed for query for method public abstract org.springframework.data.domain.Page com.levels.website.dao.ProductDao.findRecommendedProducts(com.levels.website.model.Product,org.springframework.data.domain.Pageable)!
  • Validation failed for query for method public abstract int is.siminn.alarm.repository.AlarmRepository.setCeasedTime(int,java.lang.String,java.lang.String,java.lang.String)!
  • Stack trace

    • 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(SimpleJpaQuery.java:92)[spring-data-jpa-1.9.4.RELEASE.jar:na] at org.springframework.data.jpa.repository.query.SimpleJpaQuery.<init>(SimpleJpaQuery.java:62)[spring-data-jpa-1.9.4.RELEASE.jar:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.