I need to upgrade an application from spring-boot-1.2.5.RELEASE to spring-boot-2.0.0.RELEASE.

I have this following code:

```
@Configuration
@ComponentScan
@EnableAutoConfiguration(exclude = {HibernateJpaAutoConfiguration.class, RedisAutoConfiguration.class})
public class NiceBootApplicationWithoutDB extends AbstractBootApplication {

    public static final String APPLICATION_CONTEXT_XML = "classpath:/META-INF/application-context-nodb.xml";

    public static void main(String[] args) {
        SpringApplication.run(APPLICATION_CONTEXT_XML, getFullArgList(args));
    }

}

```

The overload of `SpringApplication.run(APPLICATION_CONTEXT_XML, getFullArgList(args))` is:

```
/**
 * Static helper that can be used to run a {@link SpringApplication} from the
 * specified source using default settings.
 * @param source the source to load
 * @param args the application arguments (usually passed from a Java main method)
 * @return the running {@link ApplicationContext}
 */
public static ConfigurableApplicationContext run(Object source, String... args) {
    return run(new Object[] { source }, args);
}

/**
 * Static helper that can be used to run a {@link SpringApplication} from the
 * specified sources using default settings and user supplied arguments.
 * @param sources the sources to load
 * @param args the application arguments (usually passed from a Java main method)
 * @return the running {@link ApplicationContext}
 */
public static ConfigurableApplicationContext run(Object[] sources, String[] args) {
    return new SpringApplication(sources).run(args);
}

```

Both the overloads are not present in spring-boot-2.0.0.RELEASE. 

**My question is -** How do I upgrade the above code?