A股上市公司传智教育(股票代码 003032)旗下技术交流社区北京昌平校区

 找回密码
 加入黑马

QQ登录

只需一步,快速开始

2013-1-4 23:44:40 org.apache.commons.beanutils.converters.DateTimeConverter toDate
警告:     DateConverter does not support default String to 'Date' conversion.
org.apache.commons.beanutils.ConversionException: DateConverter does not support default String to 'Date' conversion.
2013-1-4 23:44:40 org.apache.commons.beanutils.converters.DateTimeConverter toDate
警告:     (N.B. Re-configure Converter or use alternative implementation)
        at org.apache.commons.beanutils.converters.DateTimeConverter.toDate(DateTimeConverter.java:468)
        at org.apache.commons.beanutils.converters.DateTimeConverter.convertToType(DateTimeConverter.java:343)
        at org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:156)
        at org.apache.commons.beanutils.converters.ConverterFacade.convert(ConverterFacade.java:60)
        at org.apache.commons.beanutils.BeanUtilsBean.convert(BeanUtilsBean.java:1078)
        at org.apache.commons.beanutils.BeanUtilsBean.copyProperty(BeanUtilsBean.java:437)
        at org.apache.commons.beanutils.BeanUtilsBean.copyProperties(BeanUtilsBean.java:286)
        at org.apache.commons.beanutils.BeanUtils.copyProperties(BeanUtils.java:137)
        at com.itheima.web.controller.AddCustomerServlet.doGet(AddCustomerServlet.java:40)
        at com.itheima.web.controller.AddCustomerServlet.doPost(AddCustomerServlet.java:69)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
        at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
        at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
        at java.lang.Thread.run(Thread.java:619)


1 个回复

倒序浏览
string to date有格式要求你在看看手册吧
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 加入黑马