spring+mybatis,启动时,停止在
2015-09-09 10:40:22.627:INFO:oejs.Server:jetty-8.1.14.v20131031
2015-09-09 10:40:22.878:INFO:/:No Spring WebApplicationInitializer types detected on classpath
log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
2015-09-09 10:40:23.157:INFO:/:Initializing Spring root WebApplicationContext
[0909 10:40:24 103 INFO ] [main] druid.pool.DruidDataSource - {dataSource-1} inited
查了很长时间原因,最后发现,原来是XML文件有误
<result property="createDate" column="create_date" jdbcType="Date"/>
<result property="modifyDate" column="modify_date" jdbcType="Date"/>
改正后:
<result property="createDate" column="create_date" jdbcType="DATE"/>
<result property="modifyDate" column="modify_date" jdbcType="DATE"/>
运行正常了。