Skip to main content

Posts

Showing posts with the label graniteds

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?