change config file to Resource and add Spring pom.