jsp struts2 hibernate ,service类里出错
service类里_RootDAO.initialize();后,就出错:typeExceptionreportmessagedescriptionTheserveren...
service类里 _RootDAO.initialize();后,就出错:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.hibernate.MappingException: invalid configuration
org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1484)
org.hibernate.cfg.Configuration.configure(Configuration.java:1425)
org.hibernate.cfg.Configuration.configure(Configuration.java:1411)
data.base._BaseRootDAO.initialize(_BaseRootDAO.java:98)
data.base._BaseRootDAO.initialize(_BaseRootDAO.java:88)
data.base._BaseRootDAO.initialize(_BaseRootDAO.java:79) 展开
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.hibernate.MappingException: invalid configuration
org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1484)
org.hibernate.cfg.Configuration.configure(Configuration.java:1425)
org.hibernate.cfg.Configuration.configure(Configuration.java:1411)
data.base._BaseRootDAO.initialize(_BaseRootDAO.java:98)
data.base._BaseRootDAO.initialize(_BaseRootDAO.java:88)
data.base._BaseRootDAO.initialize(_BaseRootDAO.java:79) 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询