readthefuckingmanual.net

[SOLVED] org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '__dwrConfiguration' is defined

Error added: 2012-08-23T18:42:27Z

0 people waiting for the answer...

1 answers found.

Answer 2085 (0.0% helpful)

this happen when you do not put the dwr configuration tags in the applicationContext, make a dwr-configuration.xml file and put in the configuration (tag example: <dwr:configuration />  ) and add in the web.xml:

<listener>
  <listener-class>
     org.springframework.web.context.ContextLoaderListener
  </listener-class>
</listener>

<context-param>
		<param-name>contextConfigLocation</param-name>
		<param-value>
		             /WEB-INF/dwr-configuration.xml
		</param-value>
	</context-param>

Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: