使用<rich:calendar =“”>显示日期时出错

时间:2017-05-14 11:56:14

标签: hibernate jsf richfaces

public Date getStartDate() {
    return startDate;
}

public void setStartDate(Date startDate) {
    this.startDate = startDate;
}

Hibernate Mapping:

    <property name="startDate" type="java.sql.Timestamp">
        <column name="START_DATE" />
    </property>

<tr><td><h:outputText	value="Start date  "></h:outputText> 
    </td>
    <td><rich:calendar value="#{dateBean.startDate}"
		     datePattern="d/M/yyyy"></rich:calendar>
    </td>
</tr>

在打开网页时,日期未显示,并显示错误output image “2017-05-14 21:31:09,113 ERROR [STDERR](http-0.0.0.0-8443-2)textarea”

如何解决此问题?

0 个答案:

没有答案