3 Replies Latest reply on Feb 14, 2006 12:31 PM by Julio Faerman

    Exception in Hibernate Console + Annotations

    Julio Faerman Novice

      Hi,

      I am trying to setup an hibernate console with anonnotations.
      I am getting the following exception when trying to create an session factory:
      java.lang.NoSuchFieldError: extendsQueue (full stack below).

      My configuration is:
      Eclipse 3.1.2
      Hibernate console 3.1.0.beta4

      Someone know how to resolve this?

      Thanks,
      Julio Faerman


      -----
      java.lang.NoSuchFieldError: extendsQueue
      at org.hibernate.cfg.AnnotationConfiguration.createExtendedMappings(AnnotationConfiguration.java:143)
      at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:276)
      at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:213)
      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1168)
      at org.hibernate.console.ConsoleConfiguration$2.execute(ConsoleConfiguration.java:265)
      at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35)
      at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:68)
      at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:260)
      at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:24)
      at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:70)
      at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)