[
https://jira.jboss.org/jira/browse/JBIDE-5839?page=com.atlassian.jira.plu...
]
Vitali Yemialyanchyk commented on JBIDE-5839:
---------------------------------------------
yes.
after our discussion -> this is a fix way:
hibernate.search.autoregister_listeners=false - should be setup as defalt property for
Console Configuration.
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
Priority: Critical
Fix For: 3.1.0.CR2
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