cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vespa, Anthony J" <ajve...@cbs.com>
Subject RE: 2.0.3 Breaking my services in new and awful ways compared to 2.0.2
Date Mon, 05 Nov 2007 20:51:09 GMT
Dan,

Thanks very much, I thought I had deleted it but I guess not.

Any thoughts on why I might be getting this other schema error when I
try to make a request to a function that
Returns a Java object that houses a Java.util.collection that is generic
- eg defined as Collection<T> c?

src-resolve: type 'ArrayOfAnyType@http://www.w3.org/2001/XMLSchema' not
found.

-----Original Message-----
From: Daniel Kulp [mailto:dkulp@apache.org] 
Sent: Monday, November 05, 2007 3:47 PM
To: cxf-user@incubator.apache.org
Cc: Vespa, Anthony J
Subject: Re: 2.0.3 Breaking my services in new and awful ways compared
to 2.0.2



Anthony,

Check the version of XmlSchema jar that is found.   Due to a BUNCH of 
bugs in 1.2, we had to upgrade to 1.3.2.    The error you show below 
suggests that 1.2 was picked up on the classpath somehow.

Dan



On Monday 05 November 2007, Vespa, Anthony J wrote:
> Hello,
>
> I'm trying to use last night's 2.0.3 snapshot to see if it resolves an
> issue I'm having with collections, but I am getting a massive
> exception when my app reloads - it's some kinda of no such method
> error.
>
>
>
> Nov 5, 2007 2:58:04 PM org.apache.catalina.core.StandardContext
> listenerStart
> SEVERE: Exception sending context initialized event to listener
> instance of class
> org.springframework.web.context.ContextLoaderListener
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sBoardService': Invocation of init method
> failed; nested exception is java.lang.NoSuchMethodError:
> org.apache.ws.commons.schema.XmlSchemaCollection.getExtReg()Lorg/apach
>e/ ws/commons/schema/extensions/ExtensionRegistry;
> Caused by: java.lang.NoSuchMethodError:
> org.apache.ws.commons.schema.XmlSchemaCollection.getExtReg()Lorg/apach
>e/ ws/commons/schema/extensions/ExtensionRegistry;
>         at
> org.apache.cxf.databinding.source.AbstractDataBinding.addSchemaDocumen
>t( AbstractDataBinding.java:72)
>         at
> org.apache.cxf.aegis.databinding.AegisDatabinding.createSchemas(AegisD
>at abinding.java:376)
>         at
> org.apache.cxf.aegis.databinding.AegisDatabinding.initialize(AegisData
>bi nding.java:171)
>         at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServi
>ce FromClass(ReflectionServiceFactoryBean.java:293)
>         at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initialize
>Se rviceModel(ReflectionServiceFactoryBean.java:333)
>         at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Ref
>le ctionServiceFactoryBean.java:151)
>         at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServi
>ce FactoryBean.java:93)
>         at
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoin
>t( AbstractWSDLBasedEndpointFactory.java:74)
>         at
> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.jav
>a: 108)
>         at
> org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryB
>ea n.java:147)
>         at
> org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:288)
>         at
> org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:228)
>         at
> org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:179)
>         at
> org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:341)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>av a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>or Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
>ac
> tory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:12
>14 )
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
>ac tory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1179)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
>ac tory.initializeBean(AbstractAutowireCapableBeanFactory.java:1145) at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
>ac tory.createBean(AbstractAutowireCapableBeanFactory.java:427)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObj
>ec t(AbstractBeanFactory.java:251)
>         at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
>.g etSingleton(DefaultSingletonBeanRegistry.java:144)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
>Ab stractBeanFactory.java:248)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
>Ab stractBeanFactory.java:160)
>         at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.p
>re InstantiateSingletons(DefaultListableBeanFactory.java:279)
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh
>(A bstractApplicationContext.java:360)
>         at
> org.springframework.web.context.ContextLoader.createWebApplicationCont
>ex t(ContextLoader.java:241)
>         at
> org.springframework.web.context.ContextLoader.initWebApplicationContex
>t( ContextLoader.java:184)
>         at
> org.springframework.web.context.ContextLoaderListener.contextInitializ
>ed (ContextLoaderListener.java:49)
>         at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext
>.j ava:3830)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:43
>37 )
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.
>ja va:791)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771
>) at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>         at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>         at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>         at
> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:
>29 3)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle
>Su pport.java:117)
>         at
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase
>.j ava:1337)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.pr
>oc essChildren(ContainerBase.java:1601)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.pr
>oc essChildren(ContainerBase.java:1610)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.ru
>n( ContainerBase.java:1590)
>         at java.lang.Thread.run(Thread.java:595)
> Nov 5, 2007 2:58:04 PM org.apache.catalina.core.ApplicationContext log
> INFO: Closing Spring root WebApplicationContext



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog

Mime
View raw message