org.springframework.beans.factory.parsing.BeanDefinitionParsingException

Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/context] Offending resource: PortletContext resource [WEB-INF/oneprmpendinguserrequests-portlet.xml]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web362

  • Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/context] Offending resource: PortletContext resource [/WEB-INF/oneprmpendinguserrequests-portlet.xml]
  • via Oracle Community by 889914, 11 months ago
    Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/context] Offending resource: PortletContext resource [WEB-INF/oneprmpendinguserrequests-portlet.xml]
  • via Coderanch by Ranen Das, 6 months ago
    Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/context] Offending resource: PortletContext resource [/WEB-INF/oneprmpendinguserrequests-portlet.xml]
  • Stack trace

    • org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/context] Offending resource: PortletContext resource [WEB-INF/oneprmpendinguserrequests-portlet.xml] at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:80)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:316)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1416)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1409)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:184)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)[org.springframework.beans-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.web.portlet.context.XmlPortletApplicationContext.loadBeanDefinitions(XmlPortletApplicationContext.java:125)[org.springframework.web.portlet-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.web.portlet.context.XmlPortletApplicationContext.loadBeanDefinitions(XmlPortletApplicationContext.java:93)[org.springframework.web.portlet-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)[org.springframework.context-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522)[org.springframework.context-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436)[org.springframework.context-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.web.portlet.FrameworkPortlet.createPortletApplicationContext(FrameworkPortlet.java:356)[org.springframework.web.portlet-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.web.portlet.FrameworkPortlet.initPortletApplicationContext(FrameworkPortlet.java:294)[org.springframework.web.portlet-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.web.portlet.FrameworkPortlet.initPortletBean(FrameworkPortlet.java:268)[org.springframework.web.portlet-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.web.portlet.GenericPortletBean.init(GenericPortletBean.java:120)[org.springframework.web.portlet-3.1.1.RELEASE.jar:3.1.1.RELEASE] at javax.portlet.GenericPortlet.init(GenericPortlet.java:107)[portlet.jar:private-2011/04/13-23:33:42] at com.liferay.portlet.InvokerPortletImpl.init(InvokerPortletImpl.java:246) at com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:216) at com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:139) at com.liferay.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:40)[portal-service.jar:private-2011/04/13-23:33:42] at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:310) at com.liferay.portal.deploy.hot.PortletHotDeployListener.initPortlet(PortletHotDeployListener.java:524) at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:302) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:115) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:111)[portal-service.jar:private-2011/04/13-23:33:42] at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:188)[portal-service.jar:private-2011/04/13-23:33:42] at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:40)[portal-service.jar:private-2011/04/13-23:33:42] at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalInit(PortletContextListener.java:101)[portal-service.jar:private-2011/04/13-23:33:42] at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)[portal-service.jar:private-2011/04/13-23:33:42] at com.liferay.portal.kernel.util.PortalLifecycleUtil.flushInits(PortalLifecycleUtil.java:45)[portal-service.jar:private-2011/04/13-23:33:42] at com.liferay.portal.servlet.MainServlet.initPlugins(MainServlet.java:833)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 month ago
    10 times, 3 months ago
    48 times, 4 months ago
    11 times, 5 months ago
    Unknown user
    Once, 6 months ago
    33 more bugmates