We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3d594c + e46cb22 commit 1d34701Copy full SHA for 1d34701
jooby/src/main/java/io/jooby/Jooby.java
@@ -1122,7 +1122,7 @@ private void joobyRunHook(ClassLoader loader, Server server) {
1122
*/
1123
private Optional<MvcFactory> mvcReflectionFallback(Class source, ClassLoader classLoader) {
1124
try {
1125
- String moduleName = source.getName() + "$Factory";
+ String moduleName = source.getName() + "$Module";
1126
Class<?> moduleType = classLoader.loadClass(moduleName);
1127
Constructor<?> constructor = moduleType.getDeclaredConstructor();
1128
getLog().debug("Loading mvc using reflection: " + source);
0 commit comments