Name for parameter binding must not be null or empty! For named parameters you need to use @Param for query method parameters on Java versions December 18, 2023 by Tarik Try this parameter description: List<ShopOrder> getShopOrder(@Param("id") long id);