Hibernate 出错问题?请高手解决?
Hibernate(50721187) 08:56:40
%%%% Error Creating SessionFactory %%%%
org.hibernate.InvalidMappingException: Could not parse mapping document from res
ource com/xkhl/News.hbm.xml
at org.hibernate.cfg.Configuration.addResource(Configuration.java:569)
at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.jav
a:1584)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.jav
a:1552)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1531)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1505)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1425)
at com.Hibernate.SessionFactory.currentSession(SessionFactory.java:48)
at com.xkhl.hbe.jdbc.NewsDaoImp.SelectFindBySQl(NewsDaoImp.java:105)
at com.xkhl.hbe.jdbc.NewsDaoImp.FindByCatalogId(NewsDaoImp.java:26)
at com.xkhl.struts.action.IndexAction.execute(IndexAction.java:46)
at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
2)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter
.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)