cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robby Pelssers" <robby.pelss...@ciber.com>
Subject RE: No bean named 'org.apache.cocoon.configuration.Settings' is defined
Date Thu, 11 Jun 2009 10:04:12 GMT
Have you tried "Settings" instead of the long name?  I'm not sure but
that might work.

Robby

-----Original Message-----
From: bcaramu [mailto:bcaramu@gmail.com] 
Sent: Thursday, June 11, 2009 11:47 AM
To: users@cocoon.apache.org
Subject: No bean named 'org.apache.cocoon.configuration.Settings' is
defined


Hi,

I Configured cocoon spring configuration in my spring MVC application.
But
am getting below error.

Caused by:
org.springframework.beans.factory.NoSuchBeanDefinitionException:
No bean named 'org.apache.cocoon.configuration.Settings' is defined
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.get
BeanDefinition(DefaultListableBeanFactory.java:387)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedL
ocalBeanDefinition(AbstractBeanFactory.java:971)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
AbstractBeanFactory.java:246)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:185)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:164)
	at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsBeanFactoryPo
stProcessor.getParentSettings(AbstractSettingsBeanFactoryPostProcessor.j
ava:146)
	at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsBeanFactoryPo
stProcessor.createMutableSettingsInstance(AbstractSettingsBeanFactoryPos
tProcessor.java:158)
	at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsBeanFactoryPo
stProcessor.createSettings(AbstractSettingsBeanFactoryPostProcessor.java
:207)
	at
org.apache.cocoon.spring.configurator.impl.SettingsBeanFactoryPostProces
sor.createSettings(SettingsBeanFactoryPostProcessor.java:265)
	at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsBeanFactoryPo
stProcessor.init(AbstractSettingsBeanFactoryPostProcessor.java:130)
	at
org.apache.cocoon.spring.configurator.impl.SettingsBeanFactoryPostProces
sor.init(SettingsBeanFactoryPostProcessor.java:155)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414
)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
	... 42 more
Jun 11, 2009 3:07:14 PM org.apache.catalina.core.StandardContext
loadOnStartup
SEVERE: Servlet /wolong threw load() exception
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'org.apache.cocoon.configuration.Settings' is defined
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.get
BeanDefinition(DefaultListableBeanFactory.java:387)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedL
ocalBeanDefinition(AbstractBeanFactory.java:971)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
AbstractBeanFactory.java:246)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:185)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:164)
	at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsBeanFactoryPo
stProcessor.getParentSettings(AbstractSettingsBeanFactoryPostProcessor.j
ava:146)
	at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsBeanFactoryPo
stProcessor.createMutableSettingsInstance(AbstractSettingsBeanFactoryPos
tProcessor.java:158)
	at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsBeanFactoryPo
stProcessor.createSettings(AbstractSettingsBeanFactoryPostProcessor.java
:207)
	at
org.apache.cocoon.spring.configurator.impl.SettingsBeanFactoryPostProces
sor.createSettings(SettingsBeanFactoryPostProcessor.java:265)
	at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsBeanFactoryPo
stProcessor.init(AbstractSettingsBeanFactoryPostProcessor.java:130)
	at
org.apache.cocoon.spring.configurator.impl.SettingsBeanFactoryPostProces
sor.init(SettingsBeanFactoryPostProcessor.java:155)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414
)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory$1.run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.createBean(AbstractAutowireCapableBeanFactory.java:380)
	at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObjec
t(AbstractBeanFactory.java:264)
	at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.g
etSingleton(DefaultSingletonBeanRegistry.java:222)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
AbstractBeanFactory.java:261)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:185)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:164)
	at
org.springframework.context.support.AbstractApplicationContext.invokeBea
nFactoryPostProcessors(AbstractApplicationContext.java:515)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(A
bstractApplicationContext.java:362)
	at
org.springframework.web.servlet.FrameworkServlet.createWebApplicationCon
text(FrameworkServlet.java:402)
	at
org.springframework.web.servlet.FrameworkServlet.initWebApplicationConte
xt(FrameworkServlet.java:316)
	at
org.springframework.web.servlet.FrameworkServlet.initServletBean(Framewo
rkServlet.java:282)
	at
org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.jav
a:126)
	at javax.servlet.GenericServlet.init(GenericServlet.java:212)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1161)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:4058)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4364
)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:791)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829)
	at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
1)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:117)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)


Please help me to resolve this problem.
-- 
View this message in context:
http://www.nabble.com/No-bean-named-%27org.apache.cocoon.configuration.S
ettings%27-is-defined-tp23978294p23978294.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message