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: resources:
static-locations: /resources/,file:files/ static-locations: /resources/,file:files/
cxf:
path: /lvis/services
jaxrs:
component-scan: true
messageSource: messageSource:
basenames: basenames:
- classpath:message/message-common - classpath:message/message-common

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