i had extra spring jars in the classpath which were of version 1.2.6. i
removed those and its working now. Thank you.



gnodet wrote:
> 
> Which spring version do you use ?
> 
> On 8/29/06, foram <[EMAIL PROTECTED]> wrote:
>>
>>
>> if i use 'org.apache.xbean.spring.context.XmlWebApplicationContext'
>> class,
>> i
>> get the following exception
>>
>> Caused by: java.lang.NoSuchMethodError:
>> org.apache.xbean.spring.context.v2.XBean
>> XmlBeanDefinitionReader.setValidationMode(I)V
>>         at
>> org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.<init
>> >(XBeanXmlBeanDefinitionReader.java:58)
>>         ... 129 more
>> 09:59:16,059 ERROR [[/altierre/asg]] Exception sending context
>> initialized
>> event
>> to listener instance of class
>> org.springframework.web.context.ContextLoaderList
>> ener
>> java.lang.IllegalStateException: Could not find valid implementation for:
>> 2.0
>>         at
>> org.apache.xbean.spring.context.impl.XBeanHelper.createBeanDefinition
>> Reader(XBeanHelper.java:48)
>>         at
>> org.apache.xbean.spring.context.XmlWebApplicationContext.loadBeanDefi
>> nitions(XmlWebApplicationContext.java:61)
>>         at
>> org.springframework.context.support.AbstractRefreshableApplicationCon
>> text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
>>         at
>> org.springframework.context.support.AbstractApplicationContext.refres
>> h(AbstractApplicationContext.java:269)
>>         at
>> org.springframework.web.context.support.AbstractRefreshableWebApplica
>> tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
>>         at
>> org.springframework.web.context.ContextLoader.createWebApplicationCon
>> text(ContextLoader.java:246)
>>         at
>> org.springframework.web.context.ContextLoader.initWebApplicationConte
>> xt(ContextLoader.java:184)
>>         at
>> org.springframework.web.context.ContextLoaderListener.contextInitiali
>> zed(ContextLoaderListener.java:49)
>>         at
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContex
>> t.java:3669)
>>         at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4
>> 104)
>>
>>
>> gnodet wrote:
>> >
>> > This class has been added to workaround an xbean bug which has been
>> fixed.
>> > Just change it to
>> >    org.apache.xbean.spring.context.XmlWebApplicationContext
>> >
>> > On 8/29/06, foram <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Can i use the apache-servicemix-3.0-M2-incubating' s servicemix jars
>> >> instead
>> >> of the servicemix jars with the jboss deployer? I think the servicemix
>> >> that
>> >> comes with jboss-deployer is not stable. also there is no
>> documentation
>> >> for
>> >> the new api. so it is difficult to use the new servicemix jars which
>> come
>> >> along with jboss-deployer.
>> >>
>> >> i am facing problems in trying to find replacement for class file
>> >> org.apache.servicemix.xbean.XmlWebApplicationContext which is present
>> in
>> >> the
>> >> independently downloaded servicemix.
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/stable-servicemix-release-with-jboss-deployer--tf2180856.html#a6031029
>> >> Sent from the ServiceMix - User forum at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > --
>> > Cheers,
>> > Guillaume Nodet
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/stable-servicemix-release-with-jboss-deployer--tf2180856.html#a6043290
>> Sent from the ServiceMix - User forum at Nabble.com.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> 
> 

-- 
View this message in context: 
http://www.nabble.com/stable-servicemix-release-with-jboss-deployer--tf2180856.html#a6047860
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to