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?

-- 
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/-/dHCo3vCsRC8J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to