I have a legacy application that was migrated to SpringBoot and when I run it through Eclipse without configuring anything different it runs and when I access my http://localhost:8080 it opens normally but when I run it through IntelliJ it does not open the front end and there are no errors in the log. When calling the endpoints the back end works but not the front end.
The structure where the HTML is located is this src/main/webapp/pages
I tried this configuration in the properties
spring.mvc.static-path-pattern=/pages/**
spring.resources.static-locations=classpath:/webapp/pages/,file:src/main/webapp/pages/
without success
I tried to create a configuration class and also without success
Does anyone know of another path that I can try?