Could not create query metamodel on simple JPA repository
问题 I defined the following repository public interface CityVerboseRepository extends JpaRepository<CityVerbose, Integer>{ List<CityVerbose> findByStreetStartingWith(String street); } corresponding to the entity @Entity public class CityVerbose { @Id public Integer id; public String street; } but all I am getting is could not create query metamodel for method public abstract java.util.List once I am trying to autowire that repository. All my other repositories work just fine... 回答1: The