3 Replies Latest reply on Nov 8, 2010 6:18 PM by Todd Morrison

    Hibernate Search and SeamTest

    Todd Morrison Newbie
      Working with seam 2.2.0.GA, hibernate search 3.1.1.GA, Lucene 2.9.2.

      Persistence XML includes

                  property name="hibernate.search.default.directory_provider" value="org.hibernate.search.store.FSDirectoryProvider"/>
                  property name="hibernate.search.default.indexBase" value="indexes"
                  property name="hibernate.search.reader.strategy" value="shared"
                  property name="hibernate.search.worker.execution" value="sync"


      Running Seam on JBOSS works just fine when entities decorated with @Indexed annotation.

      Seam Test always fails with, from seam-start:

      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** CONTEXTS IN ERROR: Name -> Error

      persistence.units:jar=test-build.jar,unitName=[project name] -> java.lang.NoSuchMethodError: org.apache.lucene.index.IndexWriter.<init>(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/analysis/Analyzer;ZLorg/apache/lucene/index/IndexWriter$MaxFieldLength;)V






      How do I get seamstart() in SeamTest to notice the additional lucene jars?