You need to look at the stack trace and see what the root cause is. If you paste the full stack trace, we might be able to help. Also, you don’t need to use both @RewriteConfiguration and the META-INF/services registration file – One or the other will do.
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.