In addition to obvious solutions suggested by error/exceptions, here are not so obvious ones:

1) Make appConfig valid

2) Carefully examine the first Exceptions thrown

3) Sometimes, more error messages can appears in the console error page than in the log.  So examine that.