Hi,
I am new to google app engine. My application is throwing following error. 
It is deployed on app engine. My app egine SDK is 1.7.3 and this SDK is in 
my class path. It contains various jars of DataNucleus. It also contains a 
JDK of DataNucleus. My Java is 1.6.07 and my dev machine is using eclipse 
helios on Windows 7.

java.lang.NoClassDefFoundError: Could not initialize class 
com.test.igreetings.persistence.manager.PersistenceFactory
        at 
com.test.igreetings.dao.impl.GreetingDaoImpl.getReceivedGreetings(GreetingDaoImpl.java:52)
        at 
com.test.igreetings.service.impl.GreetingServiceImpl.getGreetingsCount(GreetingServiceImpl.java:191)

Here is the code for my PersistenceFactory class:

public class PersistenceFactory {

        private static final PersistenceManagerFactory pmfInstance = 
JDOHelper.getPersistenceManagerFactory("transactions-optional");

    private PersistenceFactory() {}

    public static PersistenceManagerFactory getInstance() {
        return pmfInstance;
    }
}

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/ydBDUVn7lmQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to