Uploaded image for project: 'AdMax'
  1. AdMax
  2. ADMAX-2754

Maven: Budget_hierarchy java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.configure

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: BM Maven
    • Fix Version/s: BM Maven
    • Component/s: Yell Budgeting Tool
    • Labels:
      None
    • Environment:

      Staging-xml1

      /usr/local/tsa/Bid_Manager_-_Mavenized/30/tsa-build-bidmgr-2011-07-25-p30-r30056

      Description

      Ran:

      tsaapp@tvvm-staging-xml1:/usr/local/tsa/bidmgr$ ./budget_hierarchy.sh -d3 2> /tmp/budget_hierarchy

      2011-07-21 15:46:09.171 INFO [Version]: Hibernate Annotations 3.2.1.GA

      2011-07-21 15:46:09.214 INFO [Environment]: Hibernate 3.2.6

      2011-07-21 15:46:09.226 INFO [Environment]: hibernate.properties not found

      2011-07-21 15:46:09.235 INFO [Environment]: Bytecode provider name : cglib

      2011-07-21 15:46:09.250 INFO [Environment]: using JDK 1.4 java.sql.Timestamp handling

      2011-07-21 15:46:09.703 ERROR [YellServiceHibernateUtil]: Initializing the Yell Service Hibernate Configuration...

      Log file:

      2011-07-21 15:46:08.446 (3) [main]: Debug Level set to 3

      2011-07-21 15:46:08.514 (3) [main]: Using date :: 2011-07-21 22:46:08 GMT

      java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.configure(Ljava/lang/String;)Lorg/hibernate/cfg/AnnotationConfiguration;

      at com.thesearchagency.yell.dao.util.YellServiceHibernateUtil.<init>(YellServiceHibernateUtil.java:31)

      at com.thesearchagency.yell.dao.util.YellServiceHibernateUtil.getInstance(YellServiceHibernateUtil.java:49)

      at com.thesearchagency.yell.dao.util.YellServiceHibernateUtil.getSessionFactory(YellServiceHibernateUtil.java:62)

      at com.thesearchagency.yell.dao.YellDAO.beginPublicTransaction(YellDAO.java:722)

      at com.thesearchagency.searchengines.budget.hierarchy.HierarchyMapUpdater.createHierarchy(HierarchyMapUpdater.java:58)

      at com.thesearchagency.searchengines.budget.hierarchy.HierarchyRunner.main(HierarchyRunner.java:26)

      Exception in thread "main" java.lang.NullPointerException

      at com.thesearchagency.yell.dao.YellDAO.beginPublicTransaction(YellDAO.java:722)

      at com.thesearchagency.searchengines.budget.hierarchy.HierarchyMapUpdater.createHierarchy(HierarchyMapUpdater.java:58)

      at com.thesearchagency.searchengines.budget.hierarchy.HierarchyRunner.main(HierarchyRunner.java:26)

      ~

        Attachments

          Activity

            People

            • Assignee:
              jason.stedman Jason Stedman (Inactive)
              Reporter:
              jelliott Jen Clarke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: