org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'topicosController': Unsatisfied dependency expressed through field 'topicoRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'topicoRepository' defined in br.com.alura.forum.repository.TopicoRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed; nested exception is org.springframework.data.repository.query.QueryCreationException: Could not create query for public abstract br.com.alura.forum.modelo.Topico br.com.alura.forum.repository.TopicoRepository.findByNome(java.lang.String); Reason: Failed to create query for method public abstract br.com.alura.forum.modelo.Topico br.com.alura.forum.repository.TopicoRepository.findByNome(java.lang.String)! No property 'nome' found for type 'Topico'; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract br.com.alura.forum.modelo.Topico br.com.alura.forum.repository.TopicoRepository.findByNome(java.lang.String)! No property 'nome' found for type 'Topico'
Caused by: org.springframework.data.repository.query.QueryCreationException: Could not create query for public abstract br.com.alura.forum.modelo.Topico br.com.alura.forum.repository.TopicoRepository.findByNome(java.lang.String); Reason: Failed to create query for method public abstract br.com.alura.forum.modelo.Topico br.com.alura.forum.repository.TopicoRepository.findByNome(java.lang.String)! No property 'nome' found for type 'Topico'; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract br.com.alura.forum.modelo.Topico br.com.alura.forum.repository.TopicoRepository.findByNome(java.lang.String)! No property 'nome' found for type 'Topico'