Thursday, March 1, 2012

Re: Classcast Exception using GAE/J+Spring+JPA+MySQL

You need to use the RDBMS plugin's provider and not the one for AppEngine's datastore. The provider property should be set to"org.datanucleus.api.jpa.PersistenceProviderImpl". Also make sure the datanucleus-rdbms.jar (I think that's the name) is in your WEB-INF/lib directory.

Thanks,

Rob



No comments:

Post a Comment