This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I hope you are using ServletContextLoadListener (spring class) to initialize spring container.
If so, you should watch logs closely while application startup or whenever spring container is intialized.
There must be some exception in initialization.
Also, are you using XmlBeanFactory or ClasspathApplicationContext to intialize spring container (if you are not using ServletContextLoadListener) ?
ClasspathApplicationContext is best as it intialized all beans in one go.
SCJP 91%, SCWCD 97%
Joined: Feb 03, 2009
so how did you configure web.xml for this?
Joined: Jun 29, 2002
It was a build error I was loading all my context from conf/spring-conf/*_application_context.xml
The *application_context.xml with this bean defintion was under conf, wrong location. The reason it could not find the bean.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: org.springframework.beans.factory.NoSuchBeanDefinitionException No bean named