cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-405) ws_addressing sample fails
Date Fri, 02 Feb 2007 15:02:06 GMT

     [ https://issues.apache.org/jira/browse/CXF-405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Anstey updated CXF-405:
--------------------------------

    Attachment: cxf-405.patch

Patch to fix the issue.

> ws_addressing sample fails
> --------------------------
>
>                 Key: CXF-405
>                 URL: https://issues.apache.org/jira/browse/CXF-405
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Jonathan Anstey
>         Attachments: cxf-405.patch
>
>
> The sample in distribution/src/main/release/samples/ws_addressing fails with the following
error:
> Exception in thread "main" org.springframework.beans.factory.CannotLoadBeanClassException:
Cannot find class [org.apache.cxf.bus.spring.SpringBusImpl] for bean with name 'cxf' defined
in class path resource [server.xml]; nested exception is java.lang.ClassNotFoundException:
org.apache.cxf.bus.spring.SpringBusImpl
> Caused by: java.lang.ClassNotFoundException: org.apache.cxf.bus.spring.SpringBusImpl
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> 	at org.springframework.util.ClassUtils.forName(ClassUtils.java:177)
> 	at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:313)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:912)
> 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:165)
> 	at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:687)
> 	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:397)
> 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:330)
> 	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:71)
> 	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:59)
> 	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:50)
> 	at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:58)
> 	at org.apache.cxf.jaxws.spi.ProviderImpl.createEndpoint(ProviderImpl.java:56)
> 	at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:66)
> 	at javax.xml.ws.Endpoint.publish(Endpoint.java:156)
> 	at demo.ws_addressing.server.Server.<init>(Server.java:32)
> 	at demo.ws_addressing.server.Server.main(Server.java:36)
> I'm pretty sure the config files (server/client.xml) just need to be updated to comply
with the latest CXF bus refactor.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message