Skip to main content

can't get my Spring bean in JSF

2 replies [Last post]
adisonz
Offline
Joined: 2009-02-18
Points: 0

I got this setup in my faces-config.xml

org.springframework.web.jsf.el.SpringBeanFacesELResolver

javax.servlet.servletException:javax.el.ElException: java.lang.IllegalArgumentException: PWC2788:setAttribute: Non-serializable attribute

java.faces.FacesException:javax.el.ELEXception:java.lang.IllegalArgumentException:PWC2788:setAttribute: non-serializable attribute with ...
javax.el.ElException:java.lang.IllegalArgumentException:PWC2788:setAttribute:non-serializable attribute with name loginApp
java.lang.IllegalArgumentException: PWC2788: setAttribute : non-serializable attribute with name loginApp

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
adisonz
Offline
Joined: 2009-02-18
Points: 0

Yup you are right ... thanks

Jim Driscoll

While I don't use Spring (you should ask this on a Spring alias), it
looks like loginApp isn't serializable.

You should try changing that.

Jim

On 2/19/09 2:26 AM, webtier@javadesktop.org wrote:
> I got this setup in my faces-config.xml
>
> org.springframework.web.jsf.el.SpringBeanFacesELResolver
>

>
> javax.servlet.servletException:javax.el.ElException: java.lang.IllegalArgumentException: PWC2788:setAttribute: Non-serializable attribute
>
> java.faces.FacesException:javax.el.ELEXception:java.lang.IllegalArgumentException:PWC2788:setAttribute: non-serializable attribute with ...
> javax.el.ElException:java.lang.IllegalArgumentException:PWC2788:setAttribute:non-serializable attribute with name loginApp
> java.lang.IllegalArgumentException: PWC2788: setAttribute : non-serializable attribute with name loginApp
> [Message sent by forum member 'adisonz' (adisonz)]
>
> http://forums.java.net/jive/thread.jspa?messageID=332857
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net