CSDN博客

img AsenWei

Unrecognized xbean element mapping: services in namespace http://xfire.codehaus.org/config/1.0

发表于2009/8/25 17:37:00  6218人阅读

启动服务:

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的,不认得这个标注方式。

阅读全文
0 0

相关文章推荐

img
取 消
img