Switched to using a spring application builder.