Forums Register Login

Context initialization failed-Spring framework

+Pie Number of slices to send: Send
Hi
I am using bea weblogic portal server,when i try to run a portlet,which invokes DFS(DOCUMENTUM FOUNDATION SERVICES) webservices ,which throws the following error,i think the following error is related to spring frame work,please comment on us

ERROR MESSAGE:
<Error> <org.springframework.web.portlet.DispatcherPortlet> <BEA-000000> <Context initialization failed>
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myPortfolioService' defined in PortletContext resource [/WEB-INF/context/portlet/myportfolio.xml]: Initialization of bean failed; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:241)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:152)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:253)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:331)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at com.cosi.services.MyPortfolioService.initApplicationContext(MyPortfolioService.java:49)
at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73)
at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:86)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:296)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:843)
Truncated. see log file for complete stacktrace
+Pie Number of slices to send: Send
Hi,

I think maybe you can try get the context through the path directly something like
org.springframework.context.support.ClassPathXmlApplicationContext("WEB-INF/applicationContext.xml")
You are HERE! The other map is obviously wrong. Better confirm with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 6417 times.
Similar Threads
Tiles 2.1 integration with Spring 3.0
portlet.PortletException
Spring MultiActionController methodNameResolver invalid property error
facing a problem while deploying jsf application on bea weblogic 10.0
Error getting Spring security 2 to set up in Spring 2.5
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:30:25.