I have been trying to deploy an EJB project created in Eclipse/Juno to both JBOSS and Glassfish. The error I get with Glassfish is
cannot Deploy HappyThought
Deployment Error for module: HappyThought: Error occurred during deployment: Exception while preparing the app : java.lang.ClassNotFoundException: com.objectdb.jpa.Provider. Please see server.log for more details.
Exception while invoking class org.glassfish.persistence.jpa.JPADeployer prepare method : java.lang.RuntimeException: java.lang.ClassNotFoundException: com.objectdb.jpa.Provider
java.lang.ClassNotFoundException: com.objectdb.jpa.Provider
I get a similar error on JBOSS. I am guessing that there is some issue with the way I have added the objectdb.jar to the classpath or something. But I'm not sure where to go from here. Any suggestions?