When the repository package is different to @SpringBootApplication/@EnableAutoConfiguration, base package of @EnableJpaRepositories is required to be defined explicitly.
Try to add @EnableJpaRepositories("com.pharmacy.persistence.users.dao") to SpringBootRunner