A robust starter web application to ease Java webapp development.

Home | Tutorials | Demos | Issues

 « Return to Thread: appfuse-wicket-ibatis projoct XXXList.class throws class unserializable exception

Re: appfuse-wicket-ibatis projoct XXXList.class throws class unserializable exception

by mraible :: Rate this Message:

Reply to Author | View in Thread

I would try making your Logger variable transient or remove it.

Matt

On Fri, Jun 19, 2009 at 9:20 AM, David Brown <dbrown@...> wrote:
Hello appfusers, I have a version of the appfuse-wicket-ibatis project running with all of the UserXXX.class objects duplicated as a separate process function. The target class is throwing a class unable to serialize exception (included below). I noticed the original project source class: UserList.java has the following:


private static final long serialVersionUID = -5202104862675278153L;


which obviously mitigates the serialization issues. I attempted the following in my XXXList.class:


private static final long serialVersionUID = 1L;


This makes no change in the exception thrown:


**********************************
java.io.NotSerializableException: org.apache.commons.logging.impl.SLF4JLocationAwareLog


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


 « Return to Thread: appfuse-wicket-ibatis projoct XXXList.class throws class unserializable exception