java.lang.ClassCastException

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.

  • Error en Migracion 4m5 a 4m6
    via openxava by saamondino
    ,
  • Hibernate SessionFactory Example
    via by Unknown author,
    • java.lang.ClassCastException: org.hibernate.annotations.common.reflection.java.JavaReflectionManager cannot be cast to org.hibernate.annotations.common.reflection.MetadataProviderInjector at org.hibernate.cfg.Configuration.createReflectionManager(Configuration.java:2939) at org.hibernate.cfg.Configuration.createReflectionManager(Configuration.java:2934) at org.hibernate.cfg.Configuration.reset(Configuration.java:305) at org.hibernate.cfg.AnnotationConfiguration.reset(AnnotationConfiguration.java:233) at org.hibernate.cfg.Configuration.<init>(Configuration.java:296) at org.hibernate.cfg.Configuration.<init>(Configuration.java:300) at org.hibernate.cfg.AnnotationConfiguration.<init>(AnnotationConfiguration.java:108) at org.hibernate.ejb.Ejb3Configuration.<clinit>(Ejb3Configuration.java:107) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:124) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51) at org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:179) at org.openxava.jpa.XPersistence.createManager(XPersistence.java:107) at org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingJPA(AnnotatedClassParser.java:2556) at org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:2472) at org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:2424) at org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:204) at org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:46) at org.openxava.component.ComponentParser.parse(ComponentParser.java:35) at org.openxava.component.MetaComponent.get(MetaComponent.java:60) at org.openxava.component.MetaComponent.exists(MetaComponent.java:75) at org.openxava.application.meta.MetaApplication.existsModel(MetaApplication.java:151) at org.openxava.application.meta.MetaApplication.getMetaModule(MetaApplication.java:140) at org.openxava.controller.ModuleManager.getMetaModule(ModuleManager.java:947) at org.openxava.controller.ModuleManager.setupModuleControllers(ModuleManager.java:203) at org.openxava.controller.ModuleManager.setModuleName(ModuleManager.java:924) at org.apache.jsp.xava.module_jsp._jspService(module_jsp.java:168) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at org.openxava.web.servlets.ModuleServlet.doGet(ModuleServlet.java:24) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,