Hi Matt, forget about it. I completely repeated the installation procedure (QuickStart) , and now everything runs out-of-the box. I don't have a clue what I did wrong the first time. Sry for bothering you with this.
Thx Christian 2007/11/1, Matt Raible <[EMAIL PROTECTED]>: > > When you say "it didn't run out of the box", what do you mean? Did you > create your project using "mvn archetype:create" (as the QuickStart > Guide says)? After that, did you run "mvn install" from the top-level > directory? > > Please list all the commands you ran so we can try to reproduce your > problems. If you did exactly what the QuickStart Guide says, simply > state that and I'll try to reproduce. > > Matt > > On 11/1/07, Christian Bonami <[EMAIL PROTECTED]> wrote: > > Hi Matt, > > > > well, it's just the Modular JSF archetype (v 2.0) that I've downloaded > > yesterday from appFuse site. > > It didn't run out-of-the-box. > > In the web-module, I had to add the following to the pom.xml: > > > > <dependency> > > <groupId>opensymphony</groupId> > > <artifactId>clickstream</artifactId> > > <version>1.0.2</version> > > </dependency> > > <dependency> > > <groupId> org.apache.myfaces.core</groupId> > > <artifactId>myfaces-impl</artifactId> > > <version>1.2.0</version> > > </dependency> > > <dependency> > > <groupId>org.appfuse</groupId> > > <artifactId>appfuse-web-common</artifactId> > > <version>2.0-rc1</version> > > <type>war</type> > > </dependency> > > <dependency> > > <groupId>org.appfuse</groupId> > > <artifactId>appfuse-jsf</artifactId> > > <version>2.0</version> > > <type>war</type> > > </dependency> > > <dependency> > > <groupId>struts-menu</groupId> > > <artifactId>struts-menu</artifactId> > > <version>2.4.3</version> > > </dependency> > > <dependency> > > <groupId>org.directwebremoting</groupId> > > <artifactId>dwr</artifactId> > > <version>2.0.rc2</version> > > </dependency> > > <dependency> > > <groupId>com.corejsf</groupId> > > <artifactId>corejsf-validator</artifactId> > > <version>1.0</version> > > </dependency> > > <dependency> > > <groupId>org.apache.myfaces.shared</groupId> > > <artifactId>myfaces-shared-tomahawk</artifactId> > > <version>3.0.0</version> > > </dependency> > > <dependency> > > <groupId>commons-dbcp</groupId> > > <artifactId>commons-dbcp</artifactId> > > <version>1.2.2</version> > > </dependency> > > <dependency> > > <groupId>net.java.dev.ajax4jsf</groupId> > > <artifactId>ajax4jsf</artifactId> > > <version>1.0.6</version> > > </dependency> > > <dependency> > > <groupId>org.apache.myfaces.tomahawk</groupId> > > <artifactId>tomahawk</artifactId> > > <version>1.1.5</version> > > </dependency> > > <dependency> > > <groupId>org.tuckey</groupId> > > <artifactId>urlrewrite</artifactId> > > <version>2.5.2</version> > > </dependency> > > <dependency> > > <groupId>opensymphony</groupId> > > <artifactId>sitemesh</artifactId> > > <version>2.3</version> > > </dependency> > > <dependency> > > <groupId>com.sun.facelets</groupId> > > <artifactId>jsf-facelets</artifactId> > > <version>1.1.11</version> > > </dependency> > > <dependency> > > <groupId>javax.servlet.jsp.jstl</groupId> > > <artifactId>jstl</artifactId> > > <version>1.2</version> > > </dependency> > > > > If I didn't, 'mvn jetty:run-war -P oracle' simply wouldn't run > > (ClassNotFoundException). > > Besides that, I also had to add the following plugin to the top pom.xml: > > > > <plugin> > > <groupId>org.mortbay.jetty</groupId> > > <artifactId>maven-jetty-plugin</artifactId> > > <version>6.1.5</version> > > </plugin> > > > > And I had to add 3 properties in the same pom file: > > > > <el.version>1.0</el.version> > > <acegi.version>1.0.5</acegi.version> > > <log4j.version>1.2.13</log4j.version> > > > > I'm running on windows XP Home edition, Java version 1.5.0_10. Maven > 2.0.7. > > > > I'm under the impression that I'm missing some clue here, since I did > not > > expect to have to do so many changes before getting it to run. > > The login-page (login.jsp) works well; any link that I click on that > page > > leads to the error 'Can't find bundle for base name , locale en' (see my > > previous mail). > > > > > > > > ------ Forwarded Message > > From: Matt Raible <[EMAIL PROTECTED]> > > Reply-To: <[email protected]> > > Date: Thu, 1 Nov 2007 09:40:32 -0600 > > To: <[email protected]> > > Subject: Re: [appfuse-user] Fwd: Problems with <f:loadBundle ... > > > > Have you changed anything in your application or is this a brand new > > project? If it's brand new, please describe the steps to reproduce and > > your environment information (OS, Java version, etc.). > > > > Thx for your help > > Christian > > > > > > On 11/1/07, Christian Bonami <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > I'm running the modular JSF sample application. > > > Every xhtml page contains a loadBundle-tag, eg > > > > > > <f:loadBundle var="text" basename="#{signupForm.bundleName}"/> > > > > > > Whenever this tag is executed, I get an exception like this: > > > > > > 1-nov-2007 15:04:42 com.sun.facelets.FaceletViewHandler > > handleRenderException > > > SEVERE: Error Rendering View[/signup.xhtml] > > > com.sun.facelets.tag.TagAttributeException: /signup.xhtml > > @7,63 <f:loadBundle > > ba > > > sename="#{signupForm.bundleName}"> Can't find bundle for base name , > > locale en > > > at > > com.sun.facelets.tag.jsf.core.LoadBundleHandler.apply(LoadBundleHandl > > > er.java:197) > > > at > > com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa > > > ndler.java :47) > > > at > > com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:109) > > > > > > Any idea? > > > > > > Thx > > > -- > > > Christian Bonami > > > EDONIS bvba > > > +32474494608 > > > > > > > > > -- > > > Christian Bonami > > > EDONIS bvba > > > +32474494608 > > > > > > > > --------------------------------------------------------------------- > > > 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] > > > > > > ------ End of Forwarded Message > > > > > > > > > > -- > > Christian Bonami > > EDONIS bvba > > +32474494608 > > > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Christian Bonami EDONIS bvba +32474494608
