title: No primary or default constructor found for interface org.springframework.data.domain.Pageable
body: <p>I was trying to implement Pageable in my RestController and running into issues with this error message "No primary or default constructor found for interface org.springframework.data.domain.Pageable"</p>
  
  <p>My Controller is </p>
  
  <pre><code>@GetMapping("/rest/category/all/page")
  public Page&lt;ItemCategory&gt; getAllItemCategoryByPage(Pageable pageable){
      Page&lt;ItemCategory&gt; categories = itemCategoryService.getAllItemCategoriesByPageable(pageable);
      return categories;
  }
  </code></pre>
  
  <p>What am I doing wrong here. It is a Spring Boot 2.0 Application. 
  Thanks in advance! </p>