You created a JSF project! Use: -DarchetypeArtifactId=appfuse-basic-spring
Instead of: -DarchetypeArtifactId=appfuse-basic-jsf ;-) Matt On 2/21/07, Dean Jackson <[EMAIL PROTECTED]> wrote:
(project name is 'food') mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-jsf -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=1.0-m4-SNAPSHOT -DgroupId=com.talldean -DartifactId=food (lotta warnings, ${foo} is not a valid reference) $ls food/src/main/webapp/WEB-INF/ faces-config.xml menu-config.xml urlrewrite.xml web.xml (Still no dispatcher-servlet.xml. Help?) mraible wrote: > > 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 > -- View this message in context: http://www.nabble.com/Spring-MVC-Tutorial-question--should-mainMenu.html-work--tf3268858s2369.html#a9088597 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]