只是一个Hibernate的demo,出现这样的问题
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main"
org.hibernate.exception.DataException: could not insert: [com.hibernateinaction.hello.Message]
想问问各位老师,这个异常可能是什么原因引起的
------解决方案--------------------
那就好