org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [java] at java.security.AccessController.doPrivileged(Native Method)

Spring JIRA | Andy Piper | 8 years ago
  1. 0

    I know this is very weird, but I am seeing a consistent namespace error in a SpringDM bundle, but only when the network is not connected (as in internet). This worked fine under 1.0.x [java] org.springframework.beans.factory.BeanCreationException: Error creat ing bean with name 'servletBean' defined in URL [bundleentry://135/META-INF/spri ng/com.bea.wlevs.cluster.gcp.xml]: Invocation of init method failed; nested exce ption is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 6 in XML document from ServletContext resource [/WEB-INF/com.bea.wlevs.clus ter.gbcast.impl.http.GBcastServlet-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [java] at org.springframework.beans.factory.support.AbstractBeanFactory $1.getObject(AbstractBeanFactory.java:264) [java] at org.springframework.beans.factory.support.DefaultSingletonBea nRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .doGetBean(AbstractBeanFactory.java:261) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:185) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:164) [java] at org.springframework.beans.factory.support.DefaultListableBean Factory.getBeansOfType(DefaultListableBeanFactory.java:308) [java] at org.springframework.context.support.AbstractApplicationContex t.getBeansOfType(AbstractApplicationContext.java:948) [java] at org.springframework.context.support.AbstractApplicationContex t.registerListeners(AbstractApplicationContext.java:702) [java] at org.springframework.osgi.context.support.AbstractDelegatedExe cutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationCo ntext.java:273) [java] at org.springframework.osgi.extender.internal.dependencies.start up.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(Dependency WaiterApplicationContextExecutor.java:145) [java] at java.lang.Thread.run(Thread.java:595) [java] org.springframework.beans.factory.xml.XmlBeanDefinitionStoreExceptio n: Line 6 in XML document from ServletContext resource [/WEB-INF/com.bea.wlevs.c luster.gbcast.impl.http.GBcastServlet-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of elem ent 'beans'. [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .loadBeanDefinitions(XmlBeanDefinitionReader.java:342) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .loadBeanDefinitions(XmlBeanDefinitionReader.java:310) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149) [java] at org.springframework.web.context.support.XmlWebApplicationCont ext.loadBeanDefinitions(XmlWebApplicationContext.java:124) [java] at org.springframework.web.context.support.XmlWebApplicationCont ext.loadBeanDefinitions(XmlWebApplicationContext.java:92) [java] at org.springframework.context.support.AbstractRefreshableApplic ationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) [java] at org.springframework.context.support.AbstractApplicationContex t.obtainFreshBeanFactory(AbstractApplicationContext.java:423) [java] at org.springframework.context.support.AbstractApplicationContex t.refresh(AbstractApplicationContext.java:353) [java] at org.springframework.web.servlet.FrameworkServlet.createWebApp licationContext(FrameworkServlet.java:402) [java] at org.springframework.web.servlet.FrameworkServlet.initWebAppli cationContext(FrameworkServlet.java:316) [java] at org.springframework.web.servlet.FrameworkServlet.initServletB ean(FrameworkServlet.java:282) [java] at org.springframework.web.servlet.HttpServletBean.init(HttpServ letBean.java:126) [java] at javax.servlet.GenericServlet.init(GenericServlet.java:241) [java] at com.bea.core.jetty.internal.ServletHandler.init(ServletHandle r.java:121) [java] at com.bea.core.jetty.internal.OsgiContextHandler.registerServle t(OsgiContextHandler.java:163) [java] at com.bea.core.jetty.internal.OsgiHttpServiceWrapper.registerSe rvlet(OsgiHttpServiceWrapper.java:79) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces sorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet hodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:585) [java] at org.springframework.osgi.service.importer.support.internal.ao p.ServiceInvoker.doInvoke(ServiceInvoker.java:64) [java] at org.springframework.osgi.service.importer.support.internal.ao p.ServiceInvoker.invoke(ServiceInvoker.java:78) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.doProceed(DelegatingIntroductionInterceptor.java:131) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.invoke(DelegatingIntroductionInterceptor.java:119) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.osgi.service.util.internal.aop.ServiceTCC LInterceptor.invoke(ServiceTCCLInterceptor.java:36) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.osgi.service.importer.support.LocalBundle ContextAdvice.invoke(LocalBundleContextAdvice.java:59) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.doProceed(DelegatingIntroductionInterceptor.java:131) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.invoke(DelegatingIntroductionInterceptor.java:119) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J dkDynamicAopProxy.java:204) [java] at $Proxy51.registerServlet(Unknown Source) [java] at com.bea.wlevs.cluster.gbcast.impl.http.GBcastServlet.serviceA vailable(GBcastServlet.java:79) [java] at com.bea.wlevs.cluster.gbcast.impl.http.GBcastServlet.afterPro pertiesSet(GBcastServlet.java:66) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1366) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1332) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [java] at org.springframework.beans.factory.support.AbstractBeanFactory $1.getObject(AbstractBeanFactory.java:264) [java] at org.springframework.beans.factory.support.DefaultSingletonBea nRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .doGetBean(AbstractBeanFactory.java:261) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:185) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:164) [java] at org.springframework.beans.factory.support.DefaultListableBean Factory.getBeansOfType(DefaultListableBeanFactory.java:308) [java] at org.springframework.context.support.AbstractApplicationContex t.getBeansOfType(AbstractApplicationContext.java:948) [java] at org.springframework.context.support.AbstractApplicationContex t.registerListeners(AbstractApplicationContext.java:702) [java] at org.springframework.osgi.context.support.AbstractDelegatedExe cutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationCo ntext.java:273) [java] at org.springframework.osgi.extender.internal.dependencies.start up.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(Dependency WaiterApplicationContextExecutor.java:145) [java] at java.lang.Thread.run(Thread.java:595) [java] org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaratio n of element 'beans'. [java] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.c reateSAXParseException(ErrorHandlerWrapper.java:236) [java] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.e rror(ErrorHandlerWrapper.java:172) [java] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.repo rtError(XMLErrorReporter.java:382) [java] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.repo rtError(XMLErrorReporter.java:316) [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator .handleStartElement(XMLSchemaValidator.java:1944) [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator .startElement(XMLSchemaValidator.java:705) [java] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerI mpl.scanStartElement(XMLNSDocumentScannerImpl.java:330) [java] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerI mpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:779) [java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSc annerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java :1794) [java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSc annerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) [java] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration .parse(XML11Configuration.java:834) [java] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration .parse(XML11Configuration.java:764) [java] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XM LParser.java:148) [java] at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DO MParser.java:250) [java] at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.p arse(DocumentBuilderImpl.java:292) [java] at org.springframework.beans.factory.xml.DefaultDocumentLoader.l oadDocument(DefaultDocumentLoader.java:75) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .loadBeanDefinitions(XmlBeanDefinitionReader.java:342) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .loadBeanDefinitions(XmlBeanDefinitionReader.java:310) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149) [java] at org.springframework.web.context.support.XmlWebApplicationCont ext.loadBeanDefinitions(XmlWebApplicationContext.java:124) [java] at org.springframework.web.context.support.XmlWebApplicationCont ext.loadBeanDefinitions(XmlWebApplicationContext.java:92) [java] at org.springframework.context.support.AbstractRefreshableApplic ationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) [java] at org.springframework.context.support.AbstractApplicationContex t.obtainFreshBeanFactory(AbstractApplicationContext.java:423) [java] at org.springframework.context.support.AbstractApplicationContex t.refresh(AbstractApplicationContext.java:353) [java] at org.springframework.web.servlet.FrameworkServlet.createWebApp licationContext(FrameworkServlet.java:402) [java] at org.springframework.web.servlet.FrameworkServlet.initWebAppli cationContext(FrameworkServlet.java:316) [java] at org.springframework.web.servlet.FrameworkServlet.initServletB ean(FrameworkServlet.java:282) [java] at org.springframework.web.servlet.HttpServletBean.init(HttpServ letBean.java:126) [java] at javax.servlet.GenericServlet.init(GenericServlet.java:241) [java] at com.bea.core.jetty.internal.ServletHandler.init(ServletHandle r.java:121) [java] at com.bea.core.jetty.internal.OsgiContextHandler.registerServle t(OsgiContextHandler.java:163) [java] at com.bea.core.jetty.internal.OsgiHttpServiceWrapper.registerSe rvlet(OsgiHttpServiceWrapper.java:79) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces sorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet hodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:585) [java] at org.springframework.osgi.service.importer.support.internal.ao p.ServiceInvoker.doInvoke(ServiceInvoker.java:64) [java] at org.springframework.osgi.service.importer.support.internal.ao p.ServiceInvoker.invoke(ServiceInvoker.java:78) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.doProceed(DelegatingIntroductionInterceptor.java:131) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.invoke(DelegatingIntroductionInterceptor.java:119) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.osgi.service.util.internal.aop.ServiceTCC LInterceptor.invoke(ServiceTCCLInterceptor.java:36) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.osgi.service.importer.support.LocalBundle ContextAdvice.invoke(LocalBundleContextAdvice.java:59) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.doProceed(DelegatingIntroductionInterceptor.java:131) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.invoke(DelegatingIntroductionInterceptor.java:119) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J dkDynamicAopProxy.java:204) [java] at $Proxy51.registerServlet(Unknown Source) [java] at com.bea.wlevs.cluster.gbcast.impl.http.GBcastServlet.serviceA vailable(GBcastServlet.java:79) [java] at com.bea.wlevs.cluster.gbcast.impl.http.GBcastServlet.afterPro pertiesSet(GBcastServlet.java:66) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1366) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1332) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [java] at org.springframework.beans.factory.support.AbstractBeanFactory $1.getObject(AbstractBeanFactory.java:264) [java] at org.springframework.beans.factory.support.DefaultSingletonBea nRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .doGetBean(AbstractBeanFactory.java:261) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:185) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:164) [java] at org.springframework.beans.factory.support.DefaultListableBean Factory.getBeansOfType(DefaultListableBeanFactory.java:308) [java] at org.springframework.context.support.AbstractApplicationContex t.getBeansOfType(AbstractApplicationContext.java:948) [java] at org.springframework.context.support.AbstractApplicationContex t.registerListeners(AbstractApplicationContext.java:702) [java] at org.springframework.osgi.context.support.AbstractDelegatedExe cutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationCo ntext.java:273) [java] at org.springframework.osgi.extender.internal.dependencies.start up.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(Dependency WaiterApplicationContextExecutor.java:145) [java] at java.lang.Thread.run(Thread.java:595) [java] > [java] Exception in thread "SpringOsgiExtenderThread-25" org.springframewor k.beans.factory.BeanCreationException: Error creating bean with name 'servletBea n' defined in URL [bundleentry://135/META-INF/spring/com.bea.wlevs.cluster.gcp.x ml]: Invocation of init method failed; nested exception is org.springframework.b eans.factory.xml.XmlBeanDefinitionStoreException: Line 6 in XML document from Se rvletContext resource [/WEB-INF/com.bea.wlevs.cluster.gbcast.impl.http.GBcastSer vlet-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [java] at org.springframework.beans.factory.support.AbstractBeanFactory $1.getObject(AbstractBeanFactory.java:264) [java] at org.springframework.beans.factory.support.DefaultSingletonBea nRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .doGetBean(AbstractBeanFactory.java:261) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:185) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:164) [java] at org.springframework.beans.factory.support.DefaultListableBean Factory.getBeansOfType(DefaultListableBeanFactory.java:308) [java] at org.springframework.context.support.AbstractApplicationContex t.getBeansOfType(AbstractApplicationContext.java:948) [java] at org.springframework.context.support.AbstractApplicationContex t.registerListeners(AbstractApplicationContext.java:702) [java] at org.springframework.osgi.context.support.AbstractDelegatedExe cutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationCo ntext.java:273) [java] at org.springframework.osgi.extender.internal.dependencies.start up.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(Dependency WaiterApplicationContextExecutor.java:145) [java] at java.lang.Thread.run(Thread.java:595) [java] Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionSt oreException: Line 6 in XML document from ServletContext resource [/WEB-INF/com. bea.wlevs.cluster.gbcast.impl.http.GBcastServlet-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declarat ion of element 'beans'. [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .loadBeanDefinitions(XmlBeanDefinitionReader.java:342) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .loadBeanDefinitions(XmlBeanDefinitionReader.java:310) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149) [java] at org.springframework.web.context.support.XmlWebApplicationCont ext.loadBeanDefinitions(XmlWebApplicationContext.java:124) [java] at org.springframework.web.context.support.XmlWebApplicationCont ext.loadBeanDefinitions(XmlWebApplicationContext.java:92) [java] at org.springframework.context.support.AbstractRefreshableApplic ationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) [java] at org.springframework.context.support.AbstractApplicationContex t.obtainFreshBeanFactory(AbstractApplicationContext.java:423) [java] at org.springframework.context.support.AbstractApplicationContex t.refresh(AbstractApplicationContext.java:353) [java] at org.springframework.web.servlet.FrameworkServlet.createWebApp licationContext(FrameworkServlet.java:402) [java] at org.springframework.web.servlet.FrameworkServlet.initWebAppli cationContext(FrameworkServlet.java:316) [java] at org.springframework.web.servlet.FrameworkServlet.initServletB ean(FrameworkServlet.java:282) [java] at org.springframework.web.servlet.HttpServletBean.init(HttpServ letBean.java:126) [java] at javax.servlet.GenericServlet.init(GenericServlet.java:241) [java] at com.bea.core.jetty.internal.ServletHandler.init(ServletHandle r.java:121) [java] at com.bea.core.jetty.internal.OsgiContextHandler.registerServle t(OsgiContextHandler.java:163) [java] at com.bea.core.jetty.internal.OsgiHttpServiceWrapper.registerSe rvlet(OsgiHttpServiceWrapper.java:79) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces sorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet hodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:585) [java] at org.springframework.osgi.service.importer.support.internal.ao p.ServiceInvoker.doInvoke(ServiceInvoker.java:64) [java] at org.springframework.osgi.service.importer.support.internal.ao p.ServiceInvoker.invoke(ServiceInvoker.java:78) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.doProceed(DelegatingIntroductionInterceptor.java:131) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.invoke(DelegatingIntroductionInterceptor.java:119) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.osgi.service.util.internal.aop.ServiceTCC LInterceptor.invoke(ServiceTCCLInterceptor.java:36) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.osgi.service.importer.support.LocalBundle ContextAdvice.invoke(LocalBundleContextAdvice.java:59) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.doProceed(DelegatingIntroductionInterceptor.java:131) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.invoke(DelegatingIntroductionInterceptor.java:119) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J dkDynamicAopProxy.java:204) [java] at $Proxy51.registerServlet(Unknown Source) [java] at com.bea.wlevs.cluster.gbcast.impl.http.GBcastServlet.serviceA vailable(GBcastServlet.java:79) [java] at com.bea.wlevs.cluster.gbcast.impl.http.GBcastServlet.afterPro pertiesSet(GBcastServlet.java:66) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1366) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1332) [java] ... 15 more [java] Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. [java] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.c reateSAXParseException(ErrorHandlerWrapper.java:236) [java] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.e rror(ErrorHandlerWrapper.java:172) [java] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.repo rtError(XMLErrorReporter.java:382) [java] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.repo rtError(XMLErrorReporter.java:316) [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator .handleStartElement(XMLSchemaValidator.java:1944) [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator .startElement(XMLSchemaValidator.java:705) [java] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerI mpl.scanStartElement(XMLNSDocumentScannerImpl.java:330) [java] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerI mpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:779) [java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSc annerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java :1794) [java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSc annerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) [java] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration .parse(XML11Configuration.java:834) [java] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration .parse(XML11Configuration.java:764) [java] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XM LParser.java:148) [java] at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DO MParser.java:250) [java] at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.p arse(DocumentBuilderImpl.java:292) [java] at org.springframework.beans.factory.xml.DefaultDocumentLoader.l oadDocument(DefaultDocumentLoader.java:75) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396) [java] ... 56 more

    Spring JIRA | 8 years ago | Andy Piper
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [java] at java.security.AccessController.doPrivileged(Native Method)
  2. 0

    I know this is very weird, but I am seeing a consistent namespace error in a SpringDM bundle, but only when the network is not connected (as in internet). This worked fine under 1.0.x [java] org.springframework.beans.factory.BeanCreationException: Error creat ing bean with name 'servletBean' defined in URL [bundleentry://135/META-INF/spri ng/com.bea.wlevs.cluster.gcp.xml]: Invocation of init method failed; nested exce ption is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 6 in XML document from ServletContext resource [/WEB-INF/com.bea.wlevs.clus ter.gbcast.impl.http.GBcastServlet-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [java] at org.springframework.beans.factory.support.AbstractBeanFactory $1.getObject(AbstractBeanFactory.java:264) [java] at org.springframework.beans.factory.support.DefaultSingletonBea nRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .doGetBean(AbstractBeanFactory.java:261) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:185) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:164) [java] at org.springframework.beans.factory.support.DefaultListableBean Factory.getBeansOfType(DefaultListableBeanFactory.java:308) [java] at org.springframework.context.support.AbstractApplicationContex t.getBeansOfType(AbstractApplicationContext.java:948) [java] at org.springframework.context.support.AbstractApplicationContex t.registerListeners(AbstractApplicationContext.java:702) [java] at org.springframework.osgi.context.support.AbstractDelegatedExe cutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationCo ntext.java:273) [java] at org.springframework.osgi.extender.internal.dependencies.start up.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(Dependency WaiterApplicationContextExecutor.java:145) [java] at java.lang.Thread.run(Thread.java:595) [java] org.springframework.beans.factory.xml.XmlBeanDefinitionStoreExceptio n: Line 6 in XML document from ServletContext resource [/WEB-INF/com.bea.wlevs.c luster.gbcast.impl.http.GBcastServlet-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of elem ent 'beans'. [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .loadBeanDefinitions(XmlBeanDefinitionReader.java:342) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .loadBeanDefinitions(XmlBeanDefinitionReader.java:310) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149) [java] at org.springframework.web.context.support.XmlWebApplicationCont ext.loadBeanDefinitions(XmlWebApplicationContext.java:124) [java] at org.springframework.web.context.support.XmlWebApplicationCont ext.loadBeanDefinitions(XmlWebApplicationContext.java:92) [java] at org.springframework.context.support.AbstractRefreshableApplic ationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) [java] at org.springframework.context.support.AbstractApplicationContex t.obtainFreshBeanFactory(AbstractApplicationContext.java:423) [java] at org.springframework.context.support.AbstractApplicationContex t.refresh(AbstractApplicationContext.java:353) [java] at org.springframework.web.servlet.FrameworkServlet.createWebApp licationContext(FrameworkServlet.java:402) [java] at org.springframework.web.servlet.FrameworkServlet.initWebAppli cationContext(FrameworkServlet.java:316) [java] at org.springframework.web.servlet.FrameworkServlet.initServletB ean(FrameworkServlet.java:282) [java] at org.springframework.web.servlet.HttpServletBean.init(HttpServ letBean.java:126) [java] at javax.servlet.GenericServlet.init(GenericServlet.java:241) [java] at com.bea.core.jetty.internal.ServletHandler.init(ServletHandle r.java:121) [java] at com.bea.core.jetty.internal.OsgiContextHandler.registerServle t(OsgiContextHandler.java:163) [java] at com.bea.core.jetty.internal.OsgiHttpServiceWrapper.registerSe rvlet(OsgiHttpServiceWrapper.java:79) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces sorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet hodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:585) [java] at org.springframework.osgi.service.importer.support.internal.ao p.ServiceInvoker.doInvoke(ServiceInvoker.java:64) [java] at org.springframework.osgi.service.importer.support.internal.ao p.ServiceInvoker.invoke(ServiceInvoker.java:78) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.doProceed(DelegatingIntroductionInterceptor.java:131) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.invoke(DelegatingIntroductionInterceptor.java:119) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.osgi.service.util.internal.aop.ServiceTCC LInterceptor.invoke(ServiceTCCLInterceptor.java:36) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.osgi.service.importer.support.LocalBundle ContextAdvice.invoke(LocalBundleContextAdvice.java:59) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.doProceed(DelegatingIntroductionInterceptor.java:131) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.invoke(DelegatingIntroductionInterceptor.java:119) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J dkDynamicAopProxy.java:204) [java] at $Proxy51.registerServlet(Unknown Source) [java] at com.bea.wlevs.cluster.gbcast.impl.http.GBcastServlet.serviceA vailable(GBcastServlet.java:79) [java] at com.bea.wlevs.cluster.gbcast.impl.http.GBcastServlet.afterPro pertiesSet(GBcastServlet.java:66) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1366) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1332) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [java] at org.springframework.beans.factory.support.AbstractBeanFactory $1.getObject(AbstractBeanFactory.java:264) [java] at org.springframework.beans.factory.support.DefaultSingletonBea nRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .doGetBean(AbstractBeanFactory.java:261) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:185) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:164) [java] at org.springframework.beans.factory.support.DefaultListableBean Factory.getBeansOfType(DefaultListableBeanFactory.java:308) [java] at org.springframework.context.support.AbstractApplicationContex t.getBeansOfType(AbstractApplicationContext.java:948) [java] at org.springframework.context.support.AbstractApplicationContex t.registerListeners(AbstractApplicationContext.java:702) [java] at org.springframework.osgi.context.support.AbstractDelegatedExe cutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationCo ntext.java:273) [java] at org.springframework.osgi.extender.internal.dependencies.start up.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(Dependency WaiterApplicationContextExecutor.java:145) [java] at java.lang.Thread.run(Thread.java:595) [java] org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaratio n of element 'beans'. [java] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.c reateSAXParseException(ErrorHandlerWrapper.java:236) [java] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.e rror(ErrorHandlerWrapper.java:172) [java] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.repo rtError(XMLErrorReporter.java:382) [java] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.repo rtError(XMLErrorReporter.java:316) [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator .handleStartElement(XMLSchemaValidator.java:1944) [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator .startElement(XMLSchemaValidator.java:705) [java] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerI mpl.scanStartElement(XMLNSDocumentScannerImpl.java:330) [java] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerI mpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:779) [java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSc annerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java :1794) [java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSc annerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) [java] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration .parse(XML11Configuration.java:834) [java] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration .parse(XML11Configuration.java:764) [java] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XM LParser.java:148) [java] at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DO MParser.java:250) [java] at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.p arse(DocumentBuilderImpl.java:292) [java] at org.springframework.beans.factory.xml.DefaultDocumentLoader.l oadDocument(DefaultDocumentLoader.java:75) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .loadBeanDefinitions(XmlBeanDefinitionReader.java:342) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .loadBeanDefinitions(XmlBeanDefinitionReader.java:310) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149) [java] at org.springframework.web.context.support.XmlWebApplicationCont ext.loadBeanDefinitions(XmlWebApplicationContext.java:124) [java] at org.springframework.web.context.support.XmlWebApplicationCont ext.loadBeanDefinitions(XmlWebApplicationContext.java:92) [java] at org.springframework.context.support.AbstractRefreshableApplic ationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) [java] at org.springframework.context.support.AbstractApplicationContex t.obtainFreshBeanFactory(AbstractApplicationContext.java:423) [java] at org.springframework.context.support.AbstractApplicationContex t.refresh(AbstractApplicationContext.java:353) [java] at org.springframework.web.servlet.FrameworkServlet.createWebApp licationContext(FrameworkServlet.java:402) [java] at org.springframework.web.servlet.FrameworkServlet.initWebAppli cationContext(FrameworkServlet.java:316) [java] at org.springframework.web.servlet.FrameworkServlet.initServletB ean(FrameworkServlet.java:282) [java] at org.springframework.web.servlet.HttpServletBean.init(HttpServ letBean.java:126) [java] at javax.servlet.GenericServlet.init(GenericServlet.java:241) [java] at com.bea.core.jetty.internal.ServletHandler.init(ServletHandle r.java:121) [java] at com.bea.core.jetty.internal.OsgiContextHandler.registerServle t(OsgiContextHandler.java:163) [java] at com.bea.core.jetty.internal.OsgiHttpServiceWrapper.registerSe rvlet(OsgiHttpServiceWrapper.java:79) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces sorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet hodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:585) [java] at org.springframework.osgi.service.importer.support.internal.ao p.ServiceInvoker.doInvoke(ServiceInvoker.java:64) [java] at org.springframework.osgi.service.importer.support.internal.ao p.ServiceInvoker.invoke(ServiceInvoker.java:78) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.doProceed(DelegatingIntroductionInterceptor.java:131) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.invoke(DelegatingIntroductionInterceptor.java:119) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.osgi.service.util.internal.aop.ServiceTCC LInterceptor.invoke(ServiceTCCLInterceptor.java:36) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.osgi.service.importer.support.LocalBundle ContextAdvice.invoke(LocalBundleContextAdvice.java:59) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.doProceed(DelegatingIntroductionInterceptor.java:131) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.invoke(DelegatingIntroductionInterceptor.java:119) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J dkDynamicAopProxy.java:204) [java] at $Proxy51.registerServlet(Unknown Source) [java] at com.bea.wlevs.cluster.gbcast.impl.http.GBcastServlet.serviceA vailable(GBcastServlet.java:79) [java] at com.bea.wlevs.cluster.gbcast.impl.http.GBcastServlet.afterPro pertiesSet(GBcastServlet.java:66) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1366) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1332) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [java] at org.springframework.beans.factory.support.AbstractBeanFactory $1.getObject(AbstractBeanFactory.java:264) [java] at org.springframework.beans.factory.support.DefaultSingletonBea nRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .doGetBean(AbstractBeanFactory.java:261) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:185) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:164) [java] at org.springframework.beans.factory.support.DefaultListableBean Factory.getBeansOfType(DefaultListableBeanFactory.java:308) [java] at org.springframework.context.support.AbstractApplicationContex t.getBeansOfType(AbstractApplicationContext.java:948) [java] at org.springframework.context.support.AbstractApplicationContex t.registerListeners(AbstractApplicationContext.java:702) [java] at org.springframework.osgi.context.support.AbstractDelegatedExe cutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationCo ntext.java:273) [java] at org.springframework.osgi.extender.internal.dependencies.start up.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(Dependency WaiterApplicationContextExecutor.java:145) [java] at java.lang.Thread.run(Thread.java:595) [java] > [java] Exception in thread "SpringOsgiExtenderThread-25" org.springframewor k.beans.factory.BeanCreationException: Error creating bean with name 'servletBea n' defined in URL [bundleentry://135/META-INF/spring/com.bea.wlevs.cluster.gcp.x ml]: Invocation of init method failed; nested exception is org.springframework.b eans.factory.xml.XmlBeanDefinitionStoreException: Line 6 in XML document from Se rvletContext resource [/WEB-INF/com.bea.wlevs.cluster.gbcast.impl.http.GBcastSer vlet-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [java] at org.springframework.beans.factory.support.AbstractBeanFactory $1.getObject(AbstractBeanFactory.java:264) [java] at org.springframework.beans.factory.support.DefaultSingletonBea nRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .doGetBean(AbstractBeanFactory.java:261) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:185) [java] at org.springframework.beans.factory.support.AbstractBeanFactory .getBean(AbstractBeanFactory.java:164) [java] at org.springframework.beans.factory.support.DefaultListableBean Factory.getBeansOfType(DefaultListableBeanFactory.java:308) [java] at org.springframework.context.support.AbstractApplicationContex t.getBeansOfType(AbstractApplicationContext.java:948) [java] at org.springframework.context.support.AbstractApplicationContex t.registerListeners(AbstractApplicationContext.java:702) [java] at org.springframework.osgi.context.support.AbstractDelegatedExe cutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationCo ntext.java:273) [java] at org.springframework.osgi.extender.internal.dependencies.start up.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(Dependency WaiterApplicationContextExecutor.java:145) [java] at java.lang.Thread.run(Thread.java:595) [java] Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionSt oreException: Line 6 in XML document from ServletContext resource [/WEB-INF/com. bea.wlevs.cluster.gbcast.impl.http.GBcastServlet-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declarat ion of element 'beans'. [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .loadBeanDefinitions(XmlBeanDefinitionReader.java:342) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .loadBeanDefinitions(XmlBeanDefinitionReader.java:310) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) [java] at org.springframework.beans.factory.support.AbstractBeanDefinit ionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149) [java] at org.springframework.web.context.support.XmlWebApplicationCont ext.loadBeanDefinitions(XmlWebApplicationContext.java:124) [java] at org.springframework.web.context.support.XmlWebApplicationCont ext.loadBeanDefinitions(XmlWebApplicationContext.java:92) [java] at org.springframework.context.support.AbstractRefreshableApplic ationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) [java] at org.springframework.context.support.AbstractApplicationContex t.obtainFreshBeanFactory(AbstractApplicationContext.java:423) [java] at org.springframework.context.support.AbstractApplicationContex t.refresh(AbstractApplicationContext.java:353) [java] at org.springframework.web.servlet.FrameworkServlet.createWebApp licationContext(FrameworkServlet.java:402) [java] at org.springframework.web.servlet.FrameworkServlet.initWebAppli cationContext(FrameworkServlet.java:316) [java] at org.springframework.web.servlet.FrameworkServlet.initServletB ean(FrameworkServlet.java:282) [java] at org.springframework.web.servlet.HttpServletBean.init(HttpServ letBean.java:126) [java] at javax.servlet.GenericServlet.init(GenericServlet.java:241) [java] at com.bea.core.jetty.internal.ServletHandler.init(ServletHandle r.java:121) [java] at com.bea.core.jetty.internal.OsgiContextHandler.registerServle t(OsgiContextHandler.java:163) [java] at com.bea.core.jetty.internal.OsgiHttpServiceWrapper.registerSe rvlet(OsgiHttpServiceWrapper.java:79) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces sorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet hodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:585) [java] at org.springframework.osgi.service.importer.support.internal.ao p.ServiceInvoker.doInvoke(ServiceInvoker.java:64) [java] at org.springframework.osgi.service.importer.support.internal.ao p.ServiceInvoker.invoke(ServiceInvoker.java:78) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.doProceed(DelegatingIntroductionInterceptor.java:131) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.invoke(DelegatingIntroductionInterceptor.java:119) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.osgi.service.util.internal.aop.ServiceTCC LInterceptor.invoke(ServiceTCCLInterceptor.java:36) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.osgi.service.importer.support.LocalBundle ContextAdvice.invoke(LocalBundleContextAdvice.java:59) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.doProceed(DelegatingIntroductionInterceptor.java:131) [java] at org.springframework.aop.support.DelegatingIntroductionInterce ptor.invoke(DelegatingIntroductionInterceptor.java:119) [java] at org.springframework.aop.framework.ReflectiveMethodInvocation. proceed(ReflectiveMethodInvocation.java:171) [java] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J dkDynamicAopProxy.java:204) [java] at $Proxy51.registerServlet(Unknown Source) [java] at com.bea.wlevs.cluster.gbcast.impl.http.GBcastServlet.serviceA vailable(GBcastServlet.java:79) [java] at com.bea.wlevs.cluster.gbcast.impl.http.GBcastServlet.afterPro pertiesSet(GBcastServlet.java:66) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1366) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1332) [java] ... 15 more [java] Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. [java] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.c reateSAXParseException(ErrorHandlerWrapper.java:236) [java] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.e rror(ErrorHandlerWrapper.java:172) [java] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.repo rtError(XMLErrorReporter.java:382) [java] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.repo rtError(XMLErrorReporter.java:316) [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator .handleStartElement(XMLSchemaValidator.java:1944) [java] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator .startElement(XMLSchemaValidator.java:705) [java] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerI mpl.scanStartElement(XMLNSDocumentScannerImpl.java:330) [java] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerI mpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:779) [java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSc annerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java :1794) [java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSc annerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) [java] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration .parse(XML11Configuration.java:834) [java] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration .parse(XML11Configuration.java:764) [java] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XM LParser.java:148) [java] at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DO MParser.java:250) [java] at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.p arse(DocumentBuilderImpl.java:292) [java] at org.springframework.beans.factory.xml.DefaultDocumentLoader.l oadDocument(DefaultDocumentLoader.java:75) [java] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader .doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396) [java] ... 56 more

    Spring JIRA | 8 years ago | Andy Piper
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [java] at java.security.AccessController.doPrivileged(Native Method)
  3. 0

    users-servicemix.apache.org - Re: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. - msg#00091 - Recent Discussion OSDir.com

    osdir.com | 7 months ago
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149) at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:176) at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:142) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$800(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:269) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:247) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:222) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:175) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175) at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:718)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    users - Re: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. - msg#02436 - Recent Discussion OSDir.com

    osdir.com | 1 year ago
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149) at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:176) at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:142) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$800(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:269) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:247) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:222) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:175) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175) at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:718)
  6. 0

    [KARAF-2037] karaf 3.0 with gemini blueprint - ASF JIRA

    apache.org | 1 year ago
    org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'ext:property-placeholder '.o at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB eanDefinitions(XmlBeanDefinitionReader.java:396) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea nDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea nDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.beans.factory.support.AbstractBeanDefinitionReade r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174) at org.springframework.beans.factory.support.AbstractBeanDefinitionReade r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209) at org.springframework.beans.factory.support.AbstractBeanDefinitionReade r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180) at org.eclipse.gemini.blueprint.context.support.OsgiBundleXmlApplication Context.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:170) at org.eclipse.gemini.blueprint.context.support.OsgiBundleXmlApplication Context.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:140) at org.springframework.context.support.AbstractRefreshableApplicationCon text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131) at org.springframework.context.support.AbstractApplicationContext.obtain FreshBeanFactory(AbstractApplicationContext.java:527) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:441) s at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti onApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.jav a:60) at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti onApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:168 ) Exception in thread "EclipseGeminiBlueprintExtenderThread-2" at org.eclipse.g emini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUt ils.java:85) at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti onApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext. java:164) at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti onApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegated ExecutionApplicationContext.java:78) at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti onApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:1 57) at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleMan ager$1.run(LifecycleManager.java:211)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xml.sax.SAXParseException

      cvc-elt.1: Cannot find the declaration of element 'beans'. [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) [java] at org.springframework.beans.factory.support.AbstractAutowireCap ableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [java] at java.security.AccessController.doPrivileged(Native Method)

      at java.lang.Thread.run()
    2. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame