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:
|
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?
Hi.
Just found out that the default
jooby.routerSuffixis an underscore and I can verify that those classes are created. However, theJooby#mvcReflectionFallbacktries to load the class with the$Modulesuffix:jooby/jooby/src/main/java/io/jooby/Jooby.java
Line 1511 in 4523077
This is only a problem if the
servicesflag is disabled (we disable it during development time). As a workaround, we can force the$Modulesuffix with therouterSuffixparameter.It would be convenient to use the same default value in both places.
WDYT?