no message

main
이범준 1 year ago
parent 013cd3ea14
commit b1edbcc6ad

@ -1,16 +0,0 @@
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/*");
}
}

@ -31,6 +31,11 @@ spring:
resources:
static-locations: /resources/,file:files/
cxf:
path: /lvis/services
jaxrs:
component-scan: true
messageSource:
basenames:
- classpath:message/message-common

@ -87,5 +87,4 @@
<appender-ref ref="Error"/>
</logger>
<typeAliases></typeAliases>
</configuration>
Loading…
Cancel
Save