weblogic 대응

This commit is contained in:
Rinjae
2025-09-22 19:39:49 +09:00
parent eadc09ef0a
commit fba45a4e98
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ dependencies {
implementation('org.springframework.boot:spring-boot-starter-web') { implementation('org.springframework.boot:spring-boot-starter-web') {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-tomcat' exclude group: 'org.springframework.boot', module: 'spring-boot-starter-tomcat'
} }
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat' providedCompile "javax:javaee-api:8.0"
} else { } else {
implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-web'
} }
@@ -3,6 +3,7 @@ package com.eactive.testmaster;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration; import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
@@ -11,6 +12,10 @@ import org.springframework.context.annotation.ComponentScan;
}) })
@ComponentScan("com.eactive") @ComponentScan("com.eactive")
public class ElinkTestMaster extends SpringBootServletInitializer { public class ElinkTestMaster extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(ElinkTestMaster.class);
}
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(ElinkTestMaster.class, args); SpringApplication.run(ElinkTestMaster.class, args);