启动服务:
Unrecognized xbean element mapping: services in namespace : http://xfire.codehaus.org/config/1.0
原来是这样:
<beans xmlns="http://xfire.codehaus.org/config/1.0">
<service >
<name>smsservice</name>
<serviceClass>com.smsweb.www.webservice.ISmsService</serviceClass>
<implementationClass>com.smsweb.www.webservice.impl.SmsServiceImpl</implementationClass>
<style>wrapped</style>
<use>literal</use>
<scope>application</scope>
</service>
改成这样:就可以了
<beans>
<service xmlns="http://xfire.codehaus.org/config/1.0">
<name>smsservice</name>
<serviceClass>com.smsweb.www.webservice.ISmsService</serviceClass>
<implementationClass>com.smsweb.www.webservice.impl.SmsServiceImpl</implementationClass>
<style>wrapped</style>
<use>literal</use>
<scope>application</scope>
</service>
因为当前用的sprint的,不认得这个标注方式。
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/AsenWei/archive/2009/08/25/4483963.aspx
Unrecognized xbean element mapping: services in namespace : http://xfire.codehaus.org/config/1.0
原来是这样:
<beans xmlns="http://xfire.codehaus.org/config/1.0">
<service >
<name>smsservice</name>
<serviceClass>com.smsweb.www.webservice.ISmsService</serviceClass>
<implementationClass>com.smsweb.www.webservice.impl.SmsServiceImpl</implementationClass>
<style>wrapped</style>
<use>literal</use>
<scope>application</scope>
</service>
改成这样:就可以了
<beans>
<service xmlns="http://xfire.codehaus.org/config/1.0">
<name>smsservice</name>
<serviceClass>com.smsweb.www.webservice.ISmsService</serviceClass>
<implementationClass>com.smsweb.www.webservice.impl.SmsServiceImpl</implementationClass>
<style>wrapped</style>
<use>literal</use>
<scope>application</scope>
</service>
因为当前用的sprint的,不认得这个标注方式。
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/AsenWei/archive/2009/08/25/4483963.aspx