There is a bug I fixed earlier this week where the dispatcher-servlet.xml (and a number of other files) weren't included in the archetypes by default.
http://issues.appfuse.org/browse/APF-652 If you create a new project with a 1.0-m4-SNAPSHOT archetype and copy the files from its src/main/webapp/WEB-INF into your project it should fix the problem. Make sure and copy your controller definition from your existing dispatcher-servlet.xml to the new one. Hope this helps, Matt On 2/21/07, Dean Jackson <[EMAIL PROTECTED]> wrote:
The only item in the target/**/dispatcher-servlet.xml is the single controller I created, in main/webapp/WEB-INF/dispatcher-servlet.xml When I created that controller, I had to create the dispatcher-servlet.xml file; I'm now assuming there should have been something already there? If that's the case, I'm assuming something else is also missing... otherwise, the controller I have that did make the target/**/dispatcher-servlet.xml should be coming up in the app, right? If you'd like me to send the project to you, let me know what you need (everything, I'm assuming?), and where to send it. mraible wrote: > > You should be able to crank up the logging using > src/main/resources/log4j.xml. If you look in > target/yourapp-name/WEB-INF/dispatcher-servlet.xml, do you see a > mapping for mainMenu.html? > > If you'd like to send me your project with instructions to reproduce > the problem, I can take a look at it later tonight. > > Matt > > On 2/21/07, Dean Jackson <[EMAIL PROTECTED]> wrote: >> >> WARN [btpool0-2] PageNotFound.noHandlerFound(1005) | No mapping for >> [/mainMenu.html] in DispatcherServlet with name 'dispatcher' >> >> 2.0-m3, using the tutorial as posted yesterday. I've worked up through >> the >> web tutorial for Spring MVC up through creating >> 'src/main/webapp/WEB-INF/pages/persons.jsp'. That also gets "No mapping >> for >> [/persons.html]". I assumed I made the mistake somewhere in the Java, >> but >> mainMenu.html not working (failing the same way) makes me really curious. >> >> If I'm using mvn jetty:run-war, where are the log files? Anything more >> specific than what's going to the console, or any good way to crank up >> the >> verbosity? >> >> Thanks! >> Dean >> >> -- >> View this message in context: >> http://www.nabble.com/Spring-MVC-Tutorial-question--should-mainMenu.html-work--tf3268858s2369.html#a9087640 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Spring-MVC-Tutorial-question--should-mainMenu.html-work--tf3268858s2369.html#a9088101 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
