Realizei os mesmo passos da aula, porém ao criar o método findByStatus ocorre o erro ao rodar a aplicação.
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2021-03-01 21:20:43.517 ERROR 8184 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pedidoRepository': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract java.util.List br.com.alura.mvc.mudi.repository.PedidoRepository.findByStatus(br.com.alura.mvc.mudi.model.StatusPedido)! Unable to locate Attribute with the the given name [status] on this ManagedType [br.com.alura.mvc.mudi.model.Pedido]