설정 복구

main
이범준 1 year ago
parent 7a2854c504
commit 9af5010a9c

@ -15,7 +15,6 @@
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<name>fims</name> <name>fims</name>
<description>fims</description> <description>fims</description>
<packaging>war</packaging>
<properties> <properties>
<java.version>17</java.version> <java.version>17</java.version>
@ -63,23 +62,12 @@
<groupId>cokr.xit.boot</groupId> <groupId>cokr.xit.boot</groupId>
<artifactId>xit-base-starter</artifactId> <artifactId>xit-base-starter</artifactId>
<version>23.04.01-SNAPSHOT</version> <version>23.04.01-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.mariadb.jdbc</groupId> <groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId> <artifactId>mariadb-java-client</artifactId>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>

@ -1,37 +1,12 @@
package cokr.xit.fims; package cokr.xit.fims;
import org.springframework.boot.SpringApplication; 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 cokr.xit.base.boot.MvcConfig2;
import cokr.xit.base.boot.SecurityConfig;
import cokr.xit.base.boot.XitBaseApplication; import cokr.xit.base.boot.XitBaseApplication;
import cokr.xit.foundation.boot.CommonConfig;
import cokr.xit.foundation.boot.DatasourceConfig;
import cokr.xit.foundation.boot.ServletConfig;
import cokr.xit.foundation.boot.TransactionConfig;
@SpringBootApplication public class FimsApplication extends XitBaseApplication {
@ImportAutoConfiguration({
CommonConfig.class,
ServletConfig.class,
MvcConfig2.class,
DatasourceConfig.class,
TransactionConfig.class,
SecurityConfig.class,
})
public class FimsApplication extends SpringBootServletInitializer {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(FimsApplication.class, args); SpringApplication.run(FimsApplication.class, args);
} }
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(FimsApplication.class);
}
} }

Loading…
Cancel
Save