1 Reply Latest reply on Jan 31, 2011 7:42 AM by Marek Novotny

    Lucene, seam 2.2.1, jboss as 6

    omid pourhadi Apprentice

      Hi,
      I'm using Seam 2.2.1CR3, Hibernate Search 3.3.1 and jboss as 6 Final
      i created a seam gen project and used lucene after i deploy it and run jboss i get this exception



      java.lang.NoSuchMethodError : 
      org.hibernate.util.SoftLimitMRUCache.init


      that cause for hibernate-core.jar after i replace hibernate-core exists in seam library with hibernate-core of jboss  then application server does not even start


      how can i overcome this exception ?


      Thanks in advanced


        • 1. Re: Lucene, seam 2.2.1, jboss as 6
          Marek Novotny Newbie

          JBoss AS 6 deployment requires hibernate jars from 3.6.0 release not the ones bundled in Seam distribution.


          More you don't need to include hibernate jars into EAR or WAR, they are already in server libraries.


          Use 2.2.1.Final and look at Blog or DvdStore examples for inspirations, how to package and deploy Seam examples on JBoss AS 6. There are special build scripts in example folders - build-jboss6.xml