Trying to upgrade the versions of Java and SpringBoot.
While Updating SpringBoot Starter parent version as 2.1.1.Release from 1.5.5 getting this below Error when trying to build the project Maven clean install
incompatible types: boolean cannot be converted to org.springframework.boot.WebApplicationType on SpringApplicationBuilder
public static void main(String[] args) {
new SpringApplicationBuilder(ABC.class).web(true).run(args);
}