package es.esky.rol;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;

@SpringBootApplication(exclude = ErrorMvcAutoConfiguration.class)
public class Application {

    private static final int ENCODER_STRENGTH = 10;

    public static void main(String... args) {
        SpringApplication.run(Application.class);
    }

    @Bean
    public PasswordEncoder passwordEncoder() {
        return new BCryptPasswordEncoder(ENCODER_STRENGTH);
    }
}

@@ -433,51 +433,8 @@
 tion
-(exclude = ErrorMvcAutoConfiguration.class)
 %0Apub

Remove exclude errors mvc