严重:严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: @Temporal should be set on a java.util.Date or java.util.Calendar property: com.witbridge.payroll.pojo.TDetail.lastUpdateTime
……
Caused by: org.hibernate.AnnotationException: @Temporal should be set on a java.util.Date or java.util.Calendar property: com.witbridge.payroll.pojo.TDetail.lastUpdateTime
……
在把java.sql.Timestamp类型改为java.util.Date类型后,异常消失,服务器可以正常启动了,请各位高手解释这到底什么原因?
web.xml已经配置: