I'm trying to use Lift JPA and when I reference Model, it calls the super constructor I'm getting an exception:
object Model extends LocalEMF("LiftPersistenceUnit") with RequestVarEM
The problem is that the exception is hidden behind this exception:
java.lang.NoClassDefFoundError: Could not initialize class...
So, my question is: what is the best way to log/handle exceptions in this case?
Alternatively, can anyone recommend another pattern to use Lift JPA? The way Model has been code is the recommended way, but it's not very user-friendly IMO. The idea is to have a singleton entity manager factory which is accessible via a request variable.sc