
|
If you were logged in you would be able to see more operations.
|
|
|
XFire
Created: 27/May/07 06:36 PM
Updated: 27/May/07 06:36 PM
|
|
| Component/s: |
Spring
|
| Affects Version/s: |
1.2.6
|
| Fix Version/s: |
1.2.6
|
|
|
File Attachments:
|
1.
core-ws.rar (18 kb)
|
|
Environment:
|
jdk1.5, eclipse,xfire
|
|
|
i set up a new project specially for the client-side web service and test the client-side code, but when the ClassPathXmlApplicationContext class read the xml(contextClient = new ClassPathXmlApplicationContext("/wang/resources/applicationContext.xml");
), it always goes to the error, the error info is like the below:
org.springframework.core.CollectionFactory <clinit> INFO: JDK 1.4+ collections available
org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [wang/resources/applicationContext.xml]
org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/xfire.xml]
org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/customEditors.xml]
org.springframework.context.support.AbstractRefreshableApplicationContext refreshBeanFactory
INFO: Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=21514757]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,testWebService]; root of BeanFactory hierarchy
org.springframework.context.support.AbstractApplicationContext refresh
INFO: 11 beans defined in application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=21514757]
Exception in thread "main" java.lang.NoSuchMethodError: org.springframework.beans.factory.config.ConfigurableListableBeanFactory.isTypeMatch(Ljava/lang/String;Ljava/lang/Class;)Z
at org.springframework.context.support.AbstractApplicationContext.isTypeMatch(AbstractApplicationContext.java:656)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:402)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:328)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:92)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:77)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:68)
at wang.helloworld.clientTst.TestSupport.initContext(TestSupport.java:44)
at wang.helloworld.clientTst.TestSupport.main(TestSupport.java:89)
|
|
Description
|
i set up a new project specially for the client-side web service and test the client-side code, but when the ClassPathXmlApplicationContext class read the xml(contextClient = new ClassPathXmlApplicationContext("/wang/resources/applicationContext.xml");
), it always goes to the error, the error info is like the below:
org.springframework.core.CollectionFactory <clinit> INFO: JDK 1.4+ collections available
org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [wang/resources/applicationContext.xml]
org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/xfire.xml]
org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/customEditors.xml]
org.springframework.context.support.AbstractRefreshableApplicationContext refreshBeanFactory
INFO: Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=21514757]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,testWebService]; root of BeanFactory hierarchy
org.springframework.context.support.AbstractApplicationContext refresh
INFO: 11 beans defined in application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=21514757]
Exception in thread "main" java.lang.NoSuchMethodError: org.springframework.beans.factory.config.ConfigurableListableBeanFactory.isTypeMatch(Ljava/lang/String;Ljava/lang/Class;)Z
at org.springframework.context.support.AbstractApplicationContext.isTypeMatch(AbstractApplicationContext.java:656)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:402)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:328)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:92)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:77)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:68)
at wang.helloworld.clientTst.TestSupport.initContext(TestSupport.java:44)
at wang.helloworld.clientTst.TestSupport.main(TestSupport.java:89)
|
Show » |
| There are no comments yet on this issue.
|
|