[Strutsgenerator-user] argument type mismatch
Brought to you by:
javanovic
From: Juan P. M. <ju-...@un...> - 2003-04-15 03:53:14
|
First thanks for such a great product. I have used StrutsGenerator and have generated the whole directory from the database, but whenever I try to perform any operation that involves a date field I get the message 22:36:47,594 ERROR [STDERR] java.lang.IllegalArgumentException: Cannot invoke calendar.backend.model.Events.setFechaFin - argument type mismatch 22:36:47,599 ERROR [STDERR] at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1767) 22:36:47,601 ERROR [STDERR] at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1748) 22:36:47,603 ERROR [STDERR] at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1643) 22:36:47,604 ERROR [STDERR] at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1672) 22:36:47,606 ERROR [STDERR] at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1031) 22:36:47,607 ERROR [STDERR] at org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:820) 22:36:47,609 ERROR [STDERR] at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:343) 22:36:47,610 ERROR [STDERR] at calendar.backend.dao.DAO.populate(DAO.java:39) When I look into BeanUtils I see that it gets the date, namely 2003-09-03 as a String, instead of as a java.util.Date. Has anybody experienced this problem? Thanks Juan Pablo Morales |