liuguidong 发表于 2013-1-31 16:10:28

搭建好了 启动没有报错, 可是初始化数据失败

本帖最后由 liuguidong 于 2013-1-31 16:13 编辑

信息: Jk running ID=0 time=0/23config=null
2013-1-31 15:43:01 org.apache.catalina.startup.Catalina start
信息: Server startup in 19053 ms
org.hibernate.exception.GenericJDBCException: could not insert:
      at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2455)
      at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2875)
      at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)
      at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)

liuguidong 发表于 2013-1-31 17:10:22

问题解决了

justpower 发表于 2014-2-16 01:45:41

你怎么解决的???
页: [1]
查看完整版本: 搭建好了 启动没有报错, 可是初始化数据失败