Open GoogleCodeExporter opened 8 years ago
I got the same exeception too. someone please look into it.
Here is my stacktrace.
3485 [http-8080-3] INFO org.hibernate.cfg.Configuration - configuring from
resource: /hibernate.cfg.xml
3485 [http-8080-3] INFO org.hibernate.cfg.Configuration - Configuration
resource: /hibernate.cfg.xml
Could not build Full Hibernate Plugin's Session Factory
org.hibernate.MappingException: An AnnotationConfiguration instance is required
to use <mapping class="com.ci.domain.College"/>
at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1692)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1647)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1626)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1600)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1520)
Original comment by ibharatsharma@gmail.com
on 2 Dec 2010 at 11:07
Original issue reported on code.google.com by
dalte...@gmail.com
on 4 Nov 2010 at 1:03