Is there any obligation to use hibernate 3.2.6 instead of 3.3.1? I'm not 100% sure, but the problem might be in annotations 3.4 being not entirely compatible with hibernate core 3.2. In the stacktrace you posted, this:
org.hibernate.validator.event.ValidateEventListener cannot be cast to org.hibernate.event.PreInsertEventListener is a pointer in that direction. 2009/6/11 rsdev <victoria.robe...@rockshore.net> > > Thanks, I have just tried that and it still gives me the same error. The > dependencies I have are:- > > <dependencies> > <dependency> > <groupId>com.sun.xml.bind</groupId> > <artifactId>jaxb-impl</artifactId> > <version>2.1.9</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.apache.tapestry</groupId> > <artifactId>tapestry-core</artifactId> > <version>${tapestry-release-version}</version> > </dependency> > <dependency> > <groupId>org.apache.tapestry</groupId> > <artifactId>tapestry-hibernate-core</artifactId> > <version>${tapestry-release-version}</version> > </dependency> > <dependency> > <groupId>org.apache.tapestry</groupId> > <artifactId>tapestry-hibernate</artifactId> > <version>${tapestry-release-version}</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>javax.servlet</groupId> > <artifactId>servlet-api</artifactId> > <version>2.5</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>4.6</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>hsqldb</groupId> > <artifactId>hsqldb</artifactId> > <version>1.8.0.7</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>org.hibernate</groupId> > <artifactId>hibernate</artifactId> > <version>3.2.6.ga</version> > </dependency> > <dependency> > <groupId>org.hibernate</groupId> > <artifactId>hibernate-annotations</artifactId> > <version>3.4.0.GA</version> > </dependency> > <dependency> > <groupId>javax.persistence</groupId> > <artifactId>persistence-api</artifactId> > <version>1.0</version> > </dependency> > <dependency> > <groupId>mysql</groupId> > <artifactId>mysql-connector-java</artifactId> > <version>5.1.6</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>org.mockito</groupId> > <artifactId>mockito-all</artifactId> > <version>1.7</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>log4j</groupId> > <artifactId>log4j</artifactId> > <version>1.2.15</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>org.hamcrest</groupId> > <artifactId>hamcrest-all</artifactId> > <version>1.1</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>commons-collections</groupId> > <artifactId>commons-collections</artifactId> > <version>3.2.1</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>org.springframework.ws</groupId> > <artifactId>spring-ws-core</artifactId> > <version>1.5.6</version> > </dependency> > <dependency> > <groupId>org.springframework.ws</groupId> > <artifactId>spring-oxm</artifactId> > <version>1.5.6</version> > </dependency> > <dependency> > <groupId>jdom</groupId> > <artifactId>jdom</artifactId> > <version>1.0</version> > </dependency> > <dependency> > <groupId>com.sun.xml.messaging.saaj</groupId> > <artifactId>saaj-impl</artifactId> > <version>1.3.2</version> > <scope>runtime</scope> > </dependency> > </dependencies> > > > -- > View this message in context: > http://www.nabble.com/Problems-with-Tapestry%2C-Spring---jax-ws-integration-tp23965049p23977345.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >