Hi I am trying to use Spring + Hibernate for working with GAE+CloudSQL.
A 500 error broke my app: java.lang.NoClassDefFoundError: javax/naming/NamingException
I know javax.naming package is off-limits on AppEngine, but.... how can I get a workaround?
Hibernate breaks on SessionFactoryImpl, at this method:
public Reference getReference() throws NamingException {
log.debug("Returning a Reference to the SessionFactory");
return new Reference(
SessionFactoryImpl.class.getName(),
new StringRefAddr("uuid", uuid),
SessionFactoryObjectFactory.class.getName(),
null
);
}
It's not my code. How can I make it work?