Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Resolvido: Erro ao rodar ConsultaControllerTest

Oi Rodrigo,

Ao rodar o teste em ConsultaControllerTest retorna o erro:

Starting ConsultaControllerTest using Java 21.0.4 with PID 15488 (started by chiar in F:_Particular\Cursos\Labora\ONE\Especialização\Spring Boot 3_documente_Teste_prepare_API_Deploy\api_V2) 2024-12-11T13:01:10.895-03:00 INFO 15488 --- [api] [ main] m.v.a.controller.ConsultaControllerTest : No active profile set, falling back to 1 default profile: "default" 2024-12-11T13:01:21.288-03:00 WARN 15488 --- [api] [ main] o.s.w.c.s.GenericWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalStateException: Error processing condition on org.springdoc.webmvc.ui.SwaggerConfig.springWebProvider 2024-12-11T13:01:21.319-03:00 INFO 15488 --- [api] [ main] .s.b.a.l.ConditionEvaluationReportLogger :

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-12-11T13:01:21.646-03:00 ERROR 15488 --- [api] [ main] o.s.boot.SpringApplication : Application run failed

java.lang.IllegalStateException: Error processing condition on org.springdoc.webmvc.ui.SwaggerConfig.springWebProvider

Não consegui encontrar caso parecido no fórum.

1 resposta
solução!

Oi!

Conseguiu resolver?