Results 1 to 6 of 6

Thread: web jsf

  1. #1
    Join Date
    Dec 2011
    Posts
    2

    Default web jsf

    I trying use the new command web jsf and when start the application show this message

    GRAVE: Servlet.service() for servlet Faces Servlet threw exception
    javax.faces.view.facelets.TagAttributeException: /templates/layout.xhtml @8,63 locale="#{localeBean.locale}" Attribute did not evaluate to a String or Locale: null

    Anybody see this message?

    Thanks

  2. #2
    Join Date
    Apr 2011
    Posts
    20

    Default

    Take a look to this JIRA issue thread https://jira.springsource.org/browse/ROO-2598.

    If you are using Tomcat in Eclipse you can define the managed-bean as I commented in the thread.

    I noticed that running in vFabric tc Server, the server within the Springsoruce Tool Suite (STS) this issues doesn't happen.
    Óscar Rovira Casanova
    orovira@disid.com
    Disid Technologies S.L.
    Software Engineer
    http://www.disid.com

  3. #3
    Join Date
    Dec 2011
    Posts
    2

    Default

    Thanks osroca, really is necessary declare the managedbean localebean manually in faces-config.xml, but have any other problemas, do not generate the menu items too, let wait this great tool stay best

  4. #4
    Join Date
    Jan 2012
    Posts
    5

    Default

    I have the same problem here, it's sad that the bug is closed as "won't fix" this is a major bug and many people use tomcat as server.

  5. #5
    Join Date
    Dec 2005
    Posts
    930

    Default

    I've tried everything to get this work, but to no avail. On a related note, using mvn tomcat:run will also not work and that is why I say to use mvn jetty:run-exploded. Embedded tomcat in eclipse seems to work.
    If anyone can offer suggestions I'm all ears!
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  6. #6
    Join Date
    Dec 2011
    Posts
    14

    Default

    you can run it in tomcat 7 like what Sebastian Rajo said in thread https://jira.springsource.org/browse/ROO-2598.
    I tried it and it worked.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •