jboss - EJB - Could not parse configuration: hibernate.cfg.xml -
this first question here, i'm quite new in hibernate please forgive me if question shouldn't posted here. i know, forums full question , there different answer haven't been able solve problem. i try deploy ear contains ejb project , web project. ejb project has bean tries initialize hibernate, same error time. use jboss 7.1.1. if move classes related hibernate , database web project work well, can access db. same hibernate.cfg.xml , same java packages , classes. please, take @ hibernate.cfg.xml , please advice. in advance. hibernate.cfg.xml: <?xml version="1.0" encoding="utf-8"?> <!doctype hibernate-configuration public "-//hibernate/hibernate configuration dtd 3.0//en" "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <session-factory> <property name="hibernate.bytecode.use_reflection_optimizer">false</property> ...