Multiple Http Spring Security

I am working on a Spring project that I have had implemented a many to many login but I am trying to add the traditional backend and login profile and I don't know where is the error code.

I will show to us the error.

 @Order on WebSecurityConfigurers must be unique. Order of 100 was already used on,so it cannot be used on.

And the code of Spring Security

@Configuration
@EnableWebSecurity
public class SecurityConfiguration extends WebSecurityConfigurerAdapter {

    @Autowired
    private BCryptPasswordEncoder bCryptPasswordEncoder;

    @Autowired
    private DataSource dataSource;

    @Value("${spring.queries.users-query}")
    private String usersQuery;

    @Value("${spring.queries.roles-query}")
    private String rolesQuery;

    @Override
    protected void configure(AuthenticationManagerBuilder auth)
            throws Exception {
        auth.
                jdbcAuthentication()
                .usersByUsernameQuery(usersQuery)
                .authoritiesByUsernameQuery(rolesQuery)
                .dataSource(dataSource)
                .passwordEncoder(bCryptPasswordEncoder);
    }

    @Configuration
    @Order(2)
    public static class ApiWebSecurityConfigurationAdapter1 extends WebSecurityConfigurerAdapter {
        protected void configure(HttpSecurity http) throws Exception {
            http

                    .antMatcher("/admin/**")
                    .authorizeRequests()
                    .anyRequest().hasRole("ROLE_ADMIN")
                    .and()
                    .httpBasic();
        }
    }

    @Configuration
    @Order(1)
    public static class ApiWebSecurityConfigurationAdapter extends WebSecurityConfigurerAdapter {
        protected void configure(HttpSecurity http) throws Exception {
            http
                    .antMatcher("/api/**")
                    .authorizeRequests()
                    .anyRequest().hasRole("ROLE_ADMIN")
                    .and()
                    .httpBasic();
        }
    }

    @Configuration
    public static class FormLoginWebSecurityConfigurerAdapter extends WebSecurityConfigurerAdapter {
        @Override
        protected void configure(HttpSecurity http) throws Exception {
            http
                    .authorizeRequests()
                    .anyRequest().authenticated()
                    .and()
                    .formLogin();
        }
    }

    @Override
    public void configure(WebSecurity web) throws Exception {
        web
                .ignoring()
                .antMatchers("/resources/**", "/static/**", "/css/**", "/js/**", "/images/**");
    }

}

Could anyone help to me with this implementation ? I don't know where is the problem.

Regards ! ^^