• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss 4.2.3 and hibernate search

 
Abhishekh Padmanabhan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having problems in getting hibernate search to work in our development environment. We deploy ejb and war on separate servers to allow decoupling in development. The problem i am having is I cannot get hibernate search to work and it causes the following exception

java.lang.NoSuchMethodError: org.hibernate.search.FullTextSession.createFullTextQuery(Lorg/apache/lucene/search/Query;[Ljava/lang/Class Lorg/hibernate/search/FullTextQuery;

When i bundle the hibernate annotation, entity manager, commons annotation (versions 3.3.0) into an ear it works fine.

I know it has to do with the version of the above jarsin JBoss as it works fine when i bundle the specific version and deploy it as an ear. My question is is there any way i can get it to work in the dev env as above where ejb and war are deployed separately without having to copy those jars to the JBoss lib.
 
Emmanuel Bernard
author
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unfortunately I think it's the only safe approach (I haven't done extensive tests though).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic