package com.gxzc.zen import org.springframework.boot.SpringApplication import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.builder.SpringApplicationBuilder import org.springframework.boot.web.support.SpringBootServletInitializer @SpringBootApplication class MainApplication : SpringBootServletInitializer() { override fun configure(builder: SpringApplicationBuilder?): SpringApplicationBuilder? { return builder?.sources(MainApplication::class.java) } } fun main(args: Array) { SpringApplication.run(MainApplication::class.java, *args) }