clean up source format.
fix NPE in spring configuration
fallback from Jetty to Tomcat