You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mike Darretta <mi...@metnet.navy.mil> on 2004/12/17 20:21:00 UTC
Struts and JDK 1.4.2_06
I encountered a strange issue that may be relevant to others....
After upgrading our JDK from 1.4.2_05 to 1.4.2_06, many of our struts
actions reported the following error:
"No getter method for property currentView of bean pagingListForm"
I upgraded all our apache-related jars to the most recent releases, but
to no help. Then, I had an epiphany and simply renamed the form bean
property to "currView" vice currentView, along with its accessor.
Suddenly, everything worked as before (hmm...).
Are there any thoughts on how a form bean property name could conflict
with a JDK release?
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts and JDK 1.4.2_06
Posted by Sébastien GALLET <sg...@ibourgogne.net>.
Mike Darretta a écrit :
> I encountered a strange issue that may be relevant to others....
>
> After upgrading our JDK from 1.4.2_05 to 1.4.2_06, many of our struts
> actions reported the following error:
Got the same problem when update tomcat and jdk (don't know which causes
troubles).
>
> "No getter method for property currentView of bean pagingListForm"
>
> I upgraded all our apache-related jars to the most recent releases,
> but to no help. Then, I had an epiphany and simply renamed the form
> bean property to "currView" vice currentView, along with its accessor.
> Suddenly, everything worked as before (hmm...).
For my case,
my propertie was a calculated one (read-only) with only a getter method.
(and the error message was the same "No getter method ...)
I must have to add a setter (empty code) and a variable to fix the bug.
>
> Are there any thoughts on how a form bean property name could conflict
> with a JDK release?
>
> Mike
sebastien
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
AW: Struts and JDK 1.4.2_06
Posted by Leon Rosenberg <dv...@gmx.net>.
Have you made a clean build? Deleted the work directory of the
jsp-container?
> -----Ursprüngliche Nachricht-----
> Von: Mike Darretta [mailto:michael.darretta.ctr@metnet.navy.mil]
> Gesendet: Freitag, 17. Dezember 2004 20:21
> An: user@struts.apache.org
> Betreff: Struts and JDK 1.4.2_06
>
> I encountered a strange issue that may be relevant to others....
>
> After upgrading our JDK from 1.4.2_05 to 1.4.2_06, many of our struts
> actions reported the following error:
>
> "No getter method for property currentView of bean pagingListForm"
>
> I upgraded all our apache-related jars to the most recent releases, but
> to no help. Then, I had an epiphany and simply renamed the form bean
> property to "currView" vice currentView, along with its accessor.
> Suddenly, everything worked as before (hmm...).
>
> Are there any thoughts on how a form bean property name could conflict
> with a JDK release?
>
> Mike
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org