Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help! JSF keeps barfing: Non-serializable attribute

 
Philippe Desrosiers
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I keep getting the following exception whenever I try to hit a JSF page:


The code of my JSF page is pretty simple:


What the hell could I possibly be doing wrong?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe it can't find your messages.properties file?

Anyway is this the same or different than in your other post about Login?

It seems to be the same.

Mark
 
Philippe Desrosiers
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope. Different. It turns out that if you have a <distributable/> tag in your web.xml, JSF barfs. Apparantly this is a Tomcat thing, not a JSF thing.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic