Removed the config file and added this the application properties.