I am migrating spring-boot version 2.7.17. I am getting below error when I run application.
Application run failed java.lang.IllegalStateException : Error processing condition on org.springframework.boot.actuate.autoconfigure.metrics.web.servlet.WebMvcMetricsAutoConfiguration
at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:60)
Caused by: java.lang.ArrayStoreException:sun.reflect.annotation.TypenotPresentExceptionProxy
How can I resolve this so that my application will run.