Today I went to deploy a java application I've created up to Google App Engine, and I am being roadblocked by some very unhelpful error messages.
Invocation of init method failed; nested exception is java.lang.SecurityException:
java.lang.IllegalAccessException: Reflection is not allowed on private
java.lang.Throwable java.lang.Throwable.cause
Followed by a stack-trace that doesn't mention any of my classes: there is no line of my code I can point to as causing this.
This application uses Objectify and Spring MVC, and works fine on my local development server (App Engine version 1.7.4).
I've gone through my code and removed any mention of "cause" from any of the exception classes I use. I still have this problem. Also, there is only one type of Exception my controllers can throw, and this again makes no mention of cause.
Any ideas?
P.S. I found this discussion, but wasnt very informative.