no message

main
이범준 1 year ago
parent d8e3227d34
commit fde00e2895

@ -1,10 +1,19 @@
package cokr.xit; package cokr.xit;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.context.annotation.ImportResource; import org.springframework.context.annotation.ImportResource;
import cokr.xit.custom.boot.DatasourceConfig2;
import cokr.xit.custom.boot.ServletConfig2;
import cokr.xit.foundation.boot.FoundationApplication; import cokr.xit.foundation.boot.FoundationApplication;
import testserver.wsdlserver.lvisserver.WebServiceConfig;
@ImportAutoConfiguration({
ServletConfig2.class,
DatasourceConfig2.class,
WebServiceConfig.class
})
@ImportResource("classpath:spring/context-*.xml") @ImportResource("classpath:spring/context-*.xml")
public class TsApplication extends FoundationApplication { public class TsApplication extends FoundationApplication {

@ -0,0 +1,16 @@
package cokr.xit.custom.boot;
import org.apache.cxf.transport.servlet.CXFServlet;
import org.springframework.boot.web.servlet.ServletRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class ServletConfig2 {
@Bean
public ServletRegistrationBean<CXFServlet> cxfServlet() {
return new ServletRegistrationBean<>(new CXFServlet(), "/lvis/services/*");
}
}

@ -2,10 +2,6 @@ server:
port: 39700 port: 39700
servlet: servlet:
context-path: / context-path: /
tomcat:
basedir: "."
accesslog:
enabled: true
spring: spring:
application: application:

Loading…
Cancel
Save