You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+ " Perhaps using Gradle and IDEA but with a setup issue?"
279
-
+ " Review IntelliJ Settings / Build / Build tools / Gradle - 'Build and run using' value and set that to 'Gradle'. "
280
-
+ " Refer to https://avaje.io/inject#gradle");
281
-
}
282
276
283
277
finalvarlevel = propertyPlugin.contains("printModules") ? INFO : DEBUG;
284
278
initProfiles();
@@ -290,9 +284,15 @@ public BeanScope build() {
290
284
factory.build(builder);
291
285
}
292
286
287
+
if (moduleNames.isEmpty()) {
288
+
log.log(
289
+
Level.ERROR,
290
+
"Could not find any AvajeModule instances to wire. Possible Causes: \n1. No beans have been defined.\n2. The avaje-inject-generator depedency was not available during compilation\n3. Perhaps using Gradle and a misconfigured IDE? Refer to https://avaje.io/inject#gradle");
0 commit comments