[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-5839) Hibernate session factory - open - java.lang.NoSuchMethodError

Vitali Yemialyanchyk (JIRA) jira-events at lists.jboss.org
Fri Feb 12 07:14:10 EST 2010


Hibernate session factory - open -  java.lang.NoSuchMethodError
---------------------------------------------------------------

                 Key: JBIDE-5839
                 URL: https://jira.jboss.org/jira/browse/JBIDE-5839
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Hibernate
    Affects Versions: 3.1.0.CR2
            Reporter: Vitali Yemialyanchyk
            Assignee: Vitali Yemialyanchyk


1) create Seam web project with Seam 1.2 & JBoss-4.2.3.GA & BIRT Classic Models Sample Database;
2) Hibernate perspective -> Hibernate view -> open session factory for generated console config -> exception:

stacktrace:
java.lang.NoSuchMethodError: org.hibernate.cfg.ExtendedMappings.getReflectionManager()Lorg/hibernate/reflection/ReflectionManager;
	at org.hibernate.search.event.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:82)
	at org.hibernate.event.EventListeners$1.processListener(EventListeners.java:198)
	at org.hibernate.event.EventListeners.processListeners(EventListeners.java:181)
	at org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:194)
	at org.hibernate.cfg.Configuration.getInitializedEventListeners(Configuration.java:1352)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
	at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
	at org.hibernate.console.ConsoleConfiguration$4.execute(ConsoleConfiguration.java:549)
	at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
	at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:98)
	at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:544)
	at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:43)
	at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:100)
	at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
	at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

I can't identify version of hibernate-annotations.jar which is used by the server JBoss-4.2.3.GA, it's size 444509...
Possible workaroud - is use the server JBoss-5.0.0.GA

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list