spring mvc project not working from eclipse -


i downloaded project mkyong learning spring mvc . http://www.mkyong.com/wp-content/uploads/2011/08/spring3-mvc-helloworld-example.zip

when created war command line using mvn clean install , deploy war in tomcat webapp folder. works fine. when import in eclipse , run there gives me error no mapping found http request uri [/springmvc/welcome] in dispatcherservlet name 'mvc-dispatcher'

tried everything.search other similar question no use. note: rather posting whole code given link project can downloaded

inside eclipse , find server.xml then, @ bottom of file should find line (if not juste replace 1 have following one)

<context docbase="springmvc" path="/springmvc" reloadable="true" source="org.eclipse.jst.j2ee.server:springmvc"/></host> 

Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -