org.hibernate.MappingException: duplicate import: com.plumtree.analytics.core.persist.BaseCustomEventFact$$BeanGeneratorByCGLIB$$6a896b0d

Oracle Community | user11958935 | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Portal events are not getting loaded into the Analytics database tables

    Oracle Community | 7 years ago | user11958935
    org.hibernate.MappingException: duplicate import: com.plumtree.analytics.core.persist.BaseCustomEventFact$$BeanGeneratorByCGLIB$$6a896b0d

    Root Cause Analysis

    1. org.hibernate.MappingException

      duplicate import: com.plumtree.analytics.core.persist.BaseCustomEventFact$$BeanGeneratorByCGLIB$$6a896b0d

      at org.hibernate.cfg.Mappings.addImport()
    2. Hibernate
      Configuration.addXML
      1. org.hibernate.cfg.Mappings.addImport(Mappings.java:105)
      2. org.hibernate.cfg.HbmBinder.bindPersistentClassCommonValues(HbmBinder.java:541)
      3. org.hibernate.cfg.HbmBinder.bindClass(HbmBinder.java:488)
      4. org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:234)
      5. org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:152)
      6. org.hibernate.cfg.Configuration.add(Configuration.java:362)
      7. org.hibernate.cfg.Configuration.addXML(Configuration.java:317)
      7 frames
    3. com.plumtree.analytics
      AnalyticsInitServlet.init
      1. com.plumtree.analytics.core.HibernateUtil.loadEventMappings(HibernateUtil.java:796)
      2. com.plumtree.analytics.core.HibernateUtil.loadEventMappings(HibernateUtil.java:652)
      3. com.plumtree.analytics.core.HibernateUtil.refreshCustomEvents(HibernateUtil.java:496)
      4. com.plumtree.analytics.ui.common.AnalyticsInitServlet.init(AnalyticsInitServlet.java:104)
      4 frames
    4. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
      2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
      3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045)
      4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
      5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      8. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
      9. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
      10. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
      11. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
      12. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      13. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      15. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      16. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      17. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      18. org.apache.catalina.core.StandardService.start(StandardService.java:516)
      19. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      20. org.apache.catalina.startup.Catalina.start(Catalina.java:566)
      20 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    6. com.plumtree.container
      Bootstrap.main
      1. com.plumtree.container.Bootstrap.start(Bootstrap.java:531)
      2. com.plumtree.container.Bootstrap.main(Bootstrap.java:254)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    8. Java Service Wrapper
      WrapperStartStopApp.run
      1. org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:238)
      1 frame
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame