hibernate映射出错????
 %%%%   Error   Creating   SessionFactory   %%%% 
 %%%%   Error   Creating   SessionFactory   %%%%  
org.hibernate.MappingException:   Could   not   read   mappings   from   resource:   bean/coursetype.xml 
 	at   java.lang.Thread.run(Thread.java:595) 
 Caused   by:   org.hibernate.
MappingException:   Could   not   parse   mapping   document   in   input   stream   
 Caused   by:   
org.dom4j.DocumentException:   FWK005   parse   may   not   be   called   while   parsing.   Nested   exception:   FWK005   parse   may   not   be   called   while   parsing.   
 我的   网页再发布后第一次打开时为什么总会出现映射错误啊   ,刷新几次就好了    
 一个框架网页,左右两个子网页同时提交要求加载数据库里的资料 
 再打开就   一切正常了,但是重新发布又报错了   又要刷新了
------解决方案--------------------%%%% Error Creating SessionFactory %%%% 
 以上log是哪里打印的?   
 另外,SessionFactory的创建session的方法请加上synchroniezd关键字
------解决方案--------------------SessionFactory 里的代码打出来看看
------解决方案--------------------bean/coursetype.xml的路径出错估计