开发环境描述如下:

1 jdk: 1.5版本;

2 Tomcat5.5

3 MyEclipse6.0

                                                xfrie1.1+spring1.2    

  xfire-servlet.xml :

<bean id="UserService" parent="baseWebService">
  <!-- 业务服务bean -->
  <property name="serviceBean" ref="UserBean"></property>
  <!-- 业务服务bean的窄接口类 -->
  <property name="serviceClass"
   ref="webservice.example2.UserService">
  </property>
 </bean>   


错误:
No bean named 'webservice.example2.UserService' is defined  


 为什么不到?