|
@@ -5,11 +5,13 @@ import org.springframework.boot.autoconfigure.SpringBootApplication
|
|
|
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration
|
|
|
import org.springframework.boot.builder.SpringApplicationBuilder
|
|
|
import org.springframework.boot.web.support.SpringBootServletInitializer
|
|
|
+import org.springframework.context.annotation.ImportResource
|
|
|
|
|
|
|
|
|
@SpringBootApplication(exclude = [RedisAutoConfiguration::class])
|
|
|
//@EnableDubboConfiguration
|
|
|
//@ImportResource(locations = ["classpath:application-shiro.xml"])
|
|
|
+@ImportResource(locations = ["classpath:dubbo/*.xml"])
|
|
|
//@EnableRedisHttpSession
|
|
|
class MainApplication : SpringBootServletInitializer() {
|
|
|
override fun configure(builder: SpringApplicationBuilder?): SpringApplicationBuilder? {
|