spring configuration fixed for schema generation