主题 : Table 'jeecmsv6_f.jc_task' doesn't exist
级别: 童生
UID: 68199
积分:10 加为好友
威望: 0 精华: 0
主题:1 回复:5
注册时间:2014-10-14
在线时长:0
1#   发表于:2014-11-08 23:41:00  IP:58.38.*.*
正常部署,但是初始化spring的时候报错,“Table 'jeecmsv6_f.jc_task' doesn't exist”

23:31:40.857 ERROR org.hibernate.util.JDBCExceptionReporter - Table 'jeecmsv6_f.jc_task' doesn't exist
23:31:41.091 ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTask' defined in ServletContext resource [/WEB-INF/config/quartz-task.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.SQLGrammarException: could not execute query
级别: 童生
UID: 68199
积分:10 加为好友
威望: 0 精华: 0
主题:1 回复:5
注册时间:2014-10-14
在线时长:0
2#   发表于:2014-11-09 00:20:35  IP:119.255.*.*
将hibernate的自动建表策略改为update就ok了,
1 共1页