alpha alpha - 17 days ago 5
Java Question

how can i convert spring MVC to Spring-boot, without changing the maping

I need to convert my Spring application to Spring-boot, but without changing the web.xml file. Also i need to know the minimum pre-requisites to do it.

Answer

Just add

@SpringBootApplication
public class testApplication {
public static void main(String[] args) {
    SpringApplication.run(testApplication.class, args);
}


}
Comments