Okay, after adding builder.createApplicationContext(), it works