`
yuyuqian521
  • 浏览: 46896 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

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

阅读更多
启动服务:

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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics