build: web war build fix

dev
Jonguk. Lim 5 months ago
parent 04e77d5ef7
commit 0d96ee3407

@ -78,25 +78,6 @@
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
</dependency> </dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-starter-web</artifactId>-->
<!-- </dependency>-->
<!-- Servlet API (명시적 버전 설정) -->
<!-- <dependency>-->
<!-- <groupId>javax.servlet</groupId>-->
<!-- <artifactId>javax.servlet-api</artifactId>-->
<!-- <version>4.0.1</version>-->
<!-- </dependency>-->
<!-- Spring Boot Starter Tomcat (내장 톰캣 설정) -->
<!-- <dependency>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-starter-tomcat</artifactId>-->
<!-- <version>2.4.0</version>-->
<!-- </dependency>-->
</dependencies> </dependencies>
<build> <build>

@ -9,7 +9,6 @@ import cokr.xit.base.boot.XitBaseApplication;
public class XitBootApplication extends XitBaseApplication { public class XitBootApplication extends XitBaseApplication {
public static void main(String[] args) { public static void main(String[] args) {
//SpringApplication.run(XitBootApplication.class, args);
final SpringApplicationBuilder applicationBuilder = new SpringApplicationBuilder(XitBootApplication.class); final SpringApplicationBuilder applicationBuilder = new SpringApplicationBuilder(XitBootApplication.class);
final SpringApplication application = applicationBuilder.build(); final SpringApplication application = applicationBuilder.build();
@ -19,9 +18,4 @@ public class XitBootApplication extends XitBaseApplication {
application.addListeners(new ApplicationPidFileWriter( "adds-fo.pid")); application.addListeners(new ApplicationPidFileWriter( "adds-fo.pid"));
application.run(args); application.run(args);
} }
// @Override
// protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
// return application.sources(XitBootApplication.class);
// }
} }

Loading…
Cancel
Save