Closed
Description
Hello,
I'm trying to upgrade from 9.10-javax to 10.3-javax but now context cannot be created and an exception is thrown by BeanScope.builder().build()
:
Exception in thread "main" java.lang.IllegalStateException: Could not find any avaje modules. Perhaps using Gradle and IDEA but with a setup issue? Review IntelliJ Settings / Build / Build tools / Gradle - 'Build and run using' value and set that to 'Gradle'. Refer to https://avaje.io/inject#gradle
at io.avaje.inject.DBeanScopeBuilder.build(DBeanScopeBuilder.java:269)
at dev.harrel.jarhell.App.start(App.java:37)
at dev.harrel.jarhell.App.main(App.java:25)
Strangely enough it only occurs when I try to run it from fat jar (running it via gradle in IJ works as expected). Tried to check if 10.x had some breaking changes but couldn't find anything. Do you have any ideas what's going on? If not, I could provide broader context.
PS Is support for javax being dropped? It looks like 10.4 version doesn't have a javax variant
Metadata
Metadata
Assignees
Labels
No labels