compass with eclipselink

577 views Asked by At

I am trying to setup compass with eclipselink. It throws me the following exception

Exception [EclipseLink-28014] (Eclipse Persistence Services - 2.0.1.v20100213-r6600): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Exception was thrown while processing property [eclipselink.session.customizer] with value [org.compass.gps.device.jpa.embedded.eclipselink.CompassSessionCustomizer]. Internal Exception: org.compass.core.CompassException: Failed to find Persistence Unit Info at org.eclipse.persistence.exceptions.EntityManagerSetupException.failedWhileProcessingProperty(EntityManagerSetupException.java:178)

My persistence.xml is as follows:

<property name="eclipselink.session.customizer"                      value="org.compass.gps.device.jpa.embedded.eclipselink.CompassSessionCustomizer"/>
<property name="compass.engine.connection" value="target/test-index"/>
<property name="compass.debug" value="true" />

I have copied the following jar to my WEB-INF/lib

  • compass-2.2.0
  • lucene-core
  • lucene-analyzers
  • lucene-spellchecker
  • lucene-snowball
  • lucene-queries
  • lucene-highlighter

Am i missing anything ?

Thanks.

0

There are 0 answers