Forums Register Login

Spring MVC : Context initialization failed - BeanDefinitionStoreException

+Pie Number of slices to send: Send
Hi All,

I am new to Spring MVC and trying to create a HelloWorld application. when i tried to run application using tomcat 6, I am receiving following exception in eclipse.





Web.xml
======




I have Attached project structure.

Can you please help in resolving it?

Thanks in Advance.
Jay Shukla
+Pie Number of slices to send: Send
I could not attached screenshot of project structure.

Location of dispatcher-servlet.xml: /WEB-INF/config/

Thanks
screen.jpg
[screen.jpg]
+Pie Number of slices to send: Send
P.S: I would like to have all spring related xmls (currently it has one but may increase as the project grows) in to config folder under WEB-INF.
+Pie Number of slices to send: Send
If you want to customize the location of it, your servlet element in the deployment descriptor has to be more explicit, like this.
+Pie Number of slices to send: Send
Hi All,

I resolved this by few changes in web.xml (shown below)

+Pie Number of slices to send: Send
Thanks g tsuji for response.

I order to resolve this.. I was referring other forum / solution and tried to same solution suggested by you.
Police line, do not cross. Well, this tiny ad can go through:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 19275 times.
Similar Threads
not able to run Spring MVC app
Spring_hibernate_MYSQL_Connection_using_Datasource
The server encountered an internal error
Encountering server internal error while running the local application in the tomcat server.
Unable to locate Spring NamespaceHandler for XML schema namespace
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:37:27.