Tuesday, February 28, 2012

GravityManager.getGravity() returns null


I'm trying to implement Gravity from GraniteDS. I did everything like in example from GraniteDS website, but when I'm trying to get gravity from servlet context, GravityManager.getGravity returns null. Here is the code:




Gravity gravity = GravityManager.getGravity(contextManager.getServletContext());



What can be the reason of this error?

No comments:

Post a Comment