org.hibernate.MappingException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • AppFuse - Dev - Named SQL query in Maven
    via by Unknown author,
  • hibernate properties not found
    via Stack Overflow by Samprity Kashyap
    ,
  • Hibernate set up
    via Stack Overflow by Vivek Shankar
    ,
  • HIbenate unable to run session
    via Stack Overflow by Meelan Lakhoo
    ,
    • org.hibernate.MappingException: An AnnotationConfiguration instance is required to use <mapping class="com.tioti.domain. Show"/> at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1606) at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1561) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1540) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1514) at org.hibernate.cfg.Configuration.configure(Configuration.java:1434) at org.hibernate.cfg.Configuration.configure(Configuration.java:1420) at org.terracotta.modules.hibernate_3_2_5.util.HibernateUtil.<clinit>(HibernateUtil.java:17) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.terracotta.modules.hibernate_3_2_5.object.applicator.HibernateProxyApplicator.getSession(HibernateProxyApplicator.java:251) at org.terracotta.modules.hibernate_3_2_5.object.applicator.HibernateProxyApplicator.getNewInstance(HibernateProxyApplicator.java:202) at com.tc.object.TCClassImpl.getNewInstanceFromNonDefaultConstructor(TCClassImpl.java:342) at com.tc.object.TCObjectFactoryImpl.getNewPeerObject(TCObjectFactoryImpl.java:50) at com.tc.object.ClientObjectManagerImpl.createNewPeer(ClientObjectManagerImpl.java:1128) at com.tc.object.TCObjectImpl.createPeerObjectIfNecessary(TCObjectImpl.java:184) at com.tc.object.TCObjectImpl.hydrate(TCObjectImpl.java:112) at com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:583) at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:483) at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:472) at com.tc.object.TCObjectPhysical.resolveReference(TCObjectPhysical.java:133) at com.tioti.domain.ShowHistory.__tc_getshow(ShowHistory.java) at com.tioti.domain.ShowHistory.getShow(ShowHistory.java:200) at com.tioti.domain.ShowHistory.<init>(ShowHistory.java:171) at com.tioti.web.spring.controller.ShowAboutController.handleGeneralRequest(ShowAboutController.java:59) at com.tioti.web.spring.controller.ShowPageBaseController.handleRequestInternal(ShowPageBaseController.java:73) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:839) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:774) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:460) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:415) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.tuckey.web.filters.urlrewrite.RewrittenUrl.doRewrite(RewrittenUrl.java:189)

    Users with the same issue

    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,