geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qaiser Mehmood <mqais...@lycos.com>
Subject Class [org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler] does not implement the NamespaceHandler interface
Date Sun, 20 Jan 2008 02:08:39 GMT

I am trying to deploy a web application in Geronimo 2.0 and I am getting
following error:

20:03:39,543 ERROR [[/phaip]] StandardWrapper.Throwable
java.lang.IllegalArgumentException: Class
[org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler] does
not implement the NamespaceHandler interface
	at
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:119)
	at
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:96)
	at
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:70)
	at
org.apache.cxf.bus.spring.BusApplicationContext.initBeanDefinitionReader(BusApplicationContext.java:172)
	at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:78)
	at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
	at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
	at
org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:71)
	at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:84)
	at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:65)
	at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:52)
	at
org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CXFServlet.java:156)
	at org.apache.cxf.transport.servlet.CXFServlet.init(CXFServlet.java:98)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1053)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:955)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4035)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4338)
	at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:60)
	at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:345)
	at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
	at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:198)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:355)
	at
org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
	at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at
org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$98ccabf8.addContext(<generated>)
	at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:533)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:996)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:539)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:553)
	at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:448)
	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:511)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
	at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$b023c139.startConfiguration(<generated>)
	at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
	at java.lang.Thread.run(Thread.java:619)
20:03:39,553 ERROR [[/phaip]] Servlet /phaip threw load() exception
java.lang.IllegalArgumentException: Class
[org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler] does
not implement the NamespaceHandler interface
	at
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:119)
	at
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:96)
	at
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:70)
	at
org.apache.cxf.bus.spring.BusApplicationContext.initBeanDefinitionReader(BusApplicationContext.java:172)
	at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:78)
	at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
	at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
	at
org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:71)
	at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:84)
	at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:65)
	at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:52)
	at
org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CXFServlet.java:156)
	at org.apache.cxf.transport.servlet.CXFServlet.init(CXFServlet.java:98)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1053)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:955)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4035)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4338)
	at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:60)
	at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:345)
	at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
	at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:198)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:355)
	at
org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
	at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at
org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$98ccabf8.addContext(<generated>)
	at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:533)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:996)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:539)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:553)
	at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:448)
	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:511)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
	at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$b023c139.startConfiguration(<generated>)
	at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
	at java.lang.Thread.run(Thread.java:619)


my geronimo-web.xml is :

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/web" >

    

    <environment
      xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
        <dependencies>
            <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-rt-transports-http</artifactId>
		<version>2.0.2-incubator</version>
                <type>jar</type>
            </dependency>
           
           <dependency>
                <groupId>org.apache.activemq</groupId>
                <artifactId>activemq-core</artifactId>
                <version>4.1.1</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>dbunit</groupId>
                <artifactId>dbunit</artifactId>
                <version>2.2</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>dj800ec</groupId>
                <artifactId>dj800ec</artifactId>
                <version>1.0</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>postgresql</groupId>
                <artifactId>postgresql-8.2</artifactId>
                <version>506.jdbc4</version>
                <type>jar</type>
            </dependency>
            
            
            <dependency>
                <groupId>spring</groupId>
                <artifactId>spring</artifactId>
                <version>2.5.1</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>commons-collections</groupId>
                <artifactId>commons-collections</artifactId>
                <version>3.1</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>commons-digester</groupId>
                <artifactId>commons-digester</artifactId>
                <version>1.8</version>
                <type>jar</type>
            </dependency>

            
            <dependency>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
                <version>1.0.4</version>
                <type>jar</type>
            </dependency>

			<dependency>
                <groupId>commons-beanutils</groupId>
                <artifactId>commons-beanutils</artifactId>
                <version>1.6.1</version>
                <type>jar</type>
            </dependency>
			
            
            <dependency>
                <groupId>jmx</groupId>
                <artifactId>jmx</artifactId>
                <version>5.0_r16</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>commons-logging-api</groupId>
                <artifactId>commons-logging-api</artifactId>
                <version>1.0.4</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>jdbc2_0-stdext</groupId>
                <artifactId>jdbc2_0-stdext</artifactId>
                <version>2.0</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>log4j</groupId>
                <artifactId>log4j</artifactId>
                <version>1.2.15</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>org.apache.geronimo.configs</groupId>
                <artifactId>openjpa</artifactId>
                <version>2.0.2</version>
                <type>car</type>
            </dependency>
            
            
            <dependency>
                <groupId>quartz</groupId>
                <artifactId>quartz-all</artifactId>
                <version>1.6.0</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>org.apache.geronimo.specs</groupId>
                <artifactId>geronimo-servlet_2.5_spec</artifactId>
                <version>1.1</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>j2ee</groupId>
                <artifactId>javaee</artifactId>
                <version>9.1</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>geronimo</groupId>
                <artifactId>geronimo-kernel</artifactId>
                <version>2.0.2</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>org.apache.geronimo.modules</groupId>
                <artifactId>geronimo-activation</artifactId>
                <version>2.0.2</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>org.apache.geronimo.specs</groupId>
                <artifactId>geronimo-ejb_3.0_spec</artifactId>
                <version>1.0</version>
                <type>jar</type>
            </dependency>
            
            
            <dependency>
                <groupId>org.apache.ws.scout</groupId>
                <artifactId>scout</artifactId>
                <version>1.0rc1</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>ejb</groupId>
                <artifactId>ejb</artifactId>
                <version>1.0</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>jms</groupId>
                <artifactId>jms</artifactId>
                <version>1.0</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>jta</groupId>
                <artifactId>jta</artifactId>
                <version>1.0</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>1.0</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>mail</groupId>
                <artifactId>mail</artifactId>
                <version>1.3.3</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>derby</groupId>
                <artifactId>derby</artifactId>
                <version>10.3.2000001.599110</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>phaip</groupId>
                <artifactId>phaip-core</artifactId>
                <version>1.0</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>org.apache.geronimo.configs</groupId>
                <artifactId>xmlbeans</artifactId>
                <version>2.0.2</version>
                <type>car</type>
            </dependency>
            
            <dependency>
                <groupId>juddi</groupId>
                <artifactId>juddi</artifactId>
                <version>0.9rc4</version>
                <type>jar</type>
            </dependency>
            
            <dependency>
                <groupId>juddi</groupId>
                <artifactId>juddi-client</artifactId>
                <version>2.0rc5</version>
                <type>jar</type>
            </dependency>


       </dependencies>

  
   </environment>


<context-root>/phaip</context-root>

	
</web-app>


-- 
View this message in context: http://www.nabble.com/Class--org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler--does-not-implement-the-NamespaceHandler-interface-tp14977689s134p14977689.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message