-
Dec 4th, 2011, 03:07 PM
#1
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
-
Dec 5th, 2011, 02:50 AM
#2
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.
-
Dec 5th, 2011, 07:16 AM
#3
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
-
Jan 19th, 2012, 02:28 PM
#4
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.
-
Jan 21st, 2012, 01:10 AM
#5
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!
-
Mar 14th, 2012, 02:04 AM
#6
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
-
Forum Rules