[jboss-user] [Spring Integration] - Re: Unabled to return specified bean factory in web applicat

ivanyuan do-not-reply at jboss.com
Fri Nov 20 15:57:02 EST 2009


Marius,

Here is the stacktrace. Please take a look while I am trying to sync up versions as you advised.

Thanks,


 
  | 2009-11-20 15:52:44,238 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/C:/jboss-4.2.2.GA/server/default/deploy/MySpringBean.spring
  | 
  | java.lang.NoClassDefFoundError: org/springframework/beans/factory/xml/DefaultXmlBeanDefinitionParser
  | 
  | 	at java.lang.ClassLoader.defineClass1(Native Method)
  | 
  | 	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  | 
  | 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
  | 
  | 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
  | 
  | 	at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
  | 
  | 	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  | 
  | 	at java.security.AccessController.doPrivileged(Native Method)
  | 
  | 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | 
  | 	at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:682)
  | 
  | 	at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:662)
  | 
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | 
  | 	at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:200)
  | 
  | 	at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
  | 
  | 	at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
  | 
  | 	at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:527)
  | 
  | 	at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
  | 
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | 
  | 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  | 
  | 	at org.jboss.spring.factory.NamedXmlBeanDefinitionReader.<init>(NamedXmlBeanDefinitionReader.java:45)
  | 
  | 	at org.jboss.spring.factory.NamedXmlApplicationContext.loadBeanDefinitions(NamedXmlApplicationContext.java:64)
  | 
  | 	at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
  | 
  | 	at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
  | 
  | 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
  | 
  | 	at org.jboss.spring.factory.NamedXmlApplicationContext.<init>(NamedXmlApplicationContext.java:58)
  | 
  | 	at org.jboss.spring.factory.NamedXmlApplicationContext.<init>(NamedXmlApplicationContext.java:48)
  | 
  | 	at org.jboss.spring.factory.ApplicationContextLoaderImpl.createBeanFactory(ApplicationContextLoaderImpl.java:36)
  | 
  | 	at org.jboss.spring.factory.AbstractBeanFactoryLoader.create(AbstractBeanFactoryLoader.java:85)
  | 
  | 	at org.jboss.spring.deployment.SpringDeployer.create(SpringDeployer.java:116)
  | 
  | 	at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | 
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | 
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | 
  | 	at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
  | 
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 
  | 	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | 
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 
  | 	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | 
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 
  | 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 
  | 	at $Proxy9.deploy(Unknown Source)
  | 
  | 	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  | 
  | 	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
  | 
  | 	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
  | 
  | 	at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
  | 
  | 	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | 
  | 	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | 
  | 	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | 
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 
  | 	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | 
  | 	at $Proxy0.start(Unknown Source)
  | 
  | 	at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | 
  | 	at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
  | 
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 
  | 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 
  | 	at $Proxy4.start(Unknown Source)
  | 
  | 	at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
  | 
  | 	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
  | 
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
  | 
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | 
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
  | 
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 
  | 	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | 
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 
  | 	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | 
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 
  | 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 
  | 	at $Proxy5.deploy(Unknown Source)
  | 
  | 	at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
  | 
  | 	at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
  | 
  | 	at org.jboss.Main.boot(Main.java:200)
  | 
  | 	at org.jboss.Main$1.run(Main.java:508)
  | 
  | 	at java.lang.Thread.run(Thread.java:595)
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266835#4266835

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266835



More information about the jboss-user mailing list