Skip to content

Commit c619305

Browse files
committed
Fix error message for #63 #65 with spi package and _di$BeanContextFactory
1 parent 05779ac commit c619305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inject/src/main/java/io/avaje/inject/BeanContextBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ public BeanContext build() {
361361
Set<String> moduleNames = factoryOrder.orderFactories();
362362
if (moduleNames.isEmpty()) {
363363
throw new IllegalStateException("No modules found. When using java module system we need an explicit provides clause in module-info like:\n\n" +
364-
" provides io.avaje.inject.core.BeanContextFactory with org.example._di$Factory;\n\n" +
364+
" provides io.avaje.inject.spi.BeanContextFactory with org.example._di$BeanContextFactory;\n\n" +
365365
" Otherwise perhaps using Gradle and IDEA but with a setup issue?" +
366366
" Review IntelliJ Settings / Build / Build tools / Gradle - 'Build and run using' value and set that to 'Gradle'. " +
367367
" Refer to https://dinject.io/docs/gradle#idea");

0 commit comments

Comments
 (0)