I have a web application project using gwt and using the Google engine to store my data. When I run my project, I get the following error:
WARNING: Error for /proj/saat java.lang.NoSuchFieldError: NUCLEUS_CONTEXT_LOADER at org.datanucleus.api.jdo.JDOPersistenceManagerFactory.<clinit>(JDOPersistenceManagerFactory.java:101)
saat is the class I'm trying to save in my google engine. proj is the name of my project. I am trying to create an instance of my persistenceManager in saatServiceImpl in a server package as follows:
private static final PersistenceManagerFactory pmf = JDOHelper .getPersistenceManagerFactory("transactions-optional");
and this is the line on which the error is issued. I do not know how to solve this problem. Any hints are welcome.
source share