fix spring configuration files for documents