【发布时间】:2015-06-18 01:52:32
【问题描述】:
使用 Spring 引导配置我有例外
Caused by: java.net.MalformedURLException: no protocol: /CustomerService
如何放置一个相对的(到已部署的 webapp)url?
@Bean
public EndpointImpl endpoint(ICustomerService customerService) {
EndpointImpl endpoint = new EndpointImpl(cxfBus, new WCustomerService(customerService) );
endpoint.publish("/CustomerService");
return endpoint;
}
【问题讨论】:
标签: spring spring-boot jax-ws