diff --git a/pom.xml b/pom.xml
index c47b948..577c1ed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,6 +77,27 @@
app-support-res
0.0.1-SNAPSHOT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/java/cokr/xit/adds/XitBootApplication.java b/src/main/java/cokr/xit/adds/XitBootApplication.java
index 5cb894b..460d06c 100644
--- a/src/main/java/cokr/xit/adds/XitBootApplication.java
+++ b/src/main/java/cokr/xit/adds/XitBootApplication.java
@@ -1,23 +1,13 @@
package cokr.xit.adds;
import org.springframework.boot.SpringApplication;
-import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.builder.SpringApplicationBuilder;
-import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
-import org.springframework.test.context.ContextConfiguration;
-import cokr.xit.base.boot.MvcConfig2;
-import cokr.xit.base.boot.SecurityConfig;
-import cokr.xit.foundation.boot.CommonConfig;
-import cokr.xit.foundation.boot.DatasourceConfig;
-import cokr.xit.foundation.boot.ServletConfig;
-import cokr.xit.foundation.boot.TransactionConfig;
+import cokr.xit.base.boot.XitBaseApplication;
-@SpringBootApplication
-@ImportAutoConfiguration({CommonConfig.class, ServletConfig.class, MvcConfig2.class, DatasourceConfig.class, TransactionConfig.class, SecurityConfig.class})
-@ContextConfiguration({"classpath:spring/context-*.xml"})
-public class XitBootApplication extends SpringBootServletInitializer {
+// @SpringBootApplication
+// @ImportAutoConfiguration({CommonConfig.class, ServletConfig.class, MvcConfig2.class, DatasourceConfig.class, TransactionConfig.class, SecurityConfig.class})
+// @ContextConfiguration({"classpath:spring/context-*.xml"})
+public class XitBootApplication extends XitBaseApplication {
public static void main(String[] args) {
SpringApplication.run(XitBootApplication.class, args);
@@ -30,8 +20,8 @@ public class XitBootApplication extends SpringBootServletInitializer {
// application.run(args);
}
- @Override
- protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
- return application.sources(XitBootApplication.class);
- }
+ // @Override
+ // protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
+ // return application.sources(XitBootApplication.class);
+ // }
}