Method too large with routes file

Hello guys,
we have a large (productive) project with a routes file with about 685 routes. If we want to add more routes we will get a runtime error from guice:


com.google.inject.internal.asm.$MethodTooLargeException: Method too large: router/Routes$$FastClassByGuice$$1f117daf.getIndex (Lcom/google/inject/internal/cglib/core/$Signature;)I]

Does anyone have an idea what to do?

Thx and best regards
Simon

Maybe it help when you split your routes file into multiple ones.
See

or

Well…yeah. Pretty simple. :slight_smile: Thank you very much!