123456789101112131415161718 |
- 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<String>) {
- SpringApplication.run(MainApplication::class.java, *args)
- }
|