-
-
Notifications
You must be signed in to change notification settings - Fork 202
Closed
Description
Hi.
Just found out that the default jooby.routerSuffix is an underscore and I can verify that those classes are created. However, the Jooby#mvcReflectionFallback tries to load the class with the $Module suffix:
jooby/jooby/src/main/java/io/jooby/Jooby.java
Line 1511 in 4523077
| String moduleName = source.getName() + "$Module"; |
This is only a problem if the services flag is disabled (we disable it during development time). As a workaround, we can force the $Module suffix with the routerSuffix parameter.
It would be convenient to use the same default value in both places.
WDYT?