错误原因: - The method findAll(Sort) in the type JpaRepository<ProductInfo,String> is not applicable for the JpaRepository<ProductInfo,String>类型中的findAll(Sort)方法不适用于 由于马虎 导错包了 所以一直报错! Page正确导包 如下