Tenho este controller. O servidor sobre sem erros, mas não encontra o mapeamento do rest.
@RestController
@RequestMapping("/usuario")
@GetMapping(path = “/pesquisar”)
@Configuration
@EnableAspectJAutoProxy
@EnableWebSecurity
@PropertySource("classpath:application-rest.properties")
@ComponentScan({ "br.com.ghsistemas.servidor.rest" })
@EnableGlobalMethodSecurity(jsr250Enabled = true, securedEnabled = true, prePostEnabled = true)
public class Configuracao {
}
Tenho esta configuração. O que pode estar faltando ?