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
When creating a custom converter in an addon and have a hierarchy like this:
add-on 1 (with custom converter)
add-on 2 (uses add-on 1; uses custom converter)
app (uses add-on 2; uses custom converter implicitly through add-on 1, not explicitly!)
Doing a ./gradlew compileJava in the app results in:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> javassist.NotFoundException: de.diedavids.jmix.softreference.entity.SoftReferenceConverter
Adding an explicit dependency in the app to add-on 1 resolves the error.
This would mean that it would require every user e.g. of open-source add-ons to also add the transitive dependencies of the add-on.
When creating a custom converter in an addon and have a hierarchy like this:
Doing a
./gradlew compileJava
in the app results in:Adding an explicit dependency in the app to add-on 1 resolves the error.
This would mean that it would require every user e.g. of open-source add-ons to also add the transitive dependencies of the add-on.
see also: https://forum.jmix.io/t/custom-converter-not-found-through-transitive-add-on-dependency/1064
The text was updated successfully, but these errors were encountered: