Custom Converter not found through transitive add-on dependency


I have a question regarding the lookup of custom Converter classes.

Here is the situation:

  • add-on jmix-entity-soft-reference has a custom Converter: SoftReferenceConverter
  • add-on jmix-taggable uses the Converter for the attribute Tagging::taggable
  • the example application: jmix-taggable-example uses taggable (and therefore has also a transitive dependency to entity-soft-reference)

When performing compileJava the following error occurs:

[jmix-taggable-example] ./gradlew compileJava                                                                                                     main 

> Task :compileJava
Enhancing entities in root project 'jmix-taggable-example' for source set 'main'
Project entities:
    JPA: [de.diedavids.jmix.taggable.example.entity.Customer, de.diedavids.jmix.taggable.example.entity.Product, de.diedavids.jmix.taggable.example.entity.User];
    DTO: [];
Project converters: [].

> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> javassist.NotFoundException: de.diedavids.jmix.softreference.entity.SoftReferenceConverter

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.


1 actionable task: 1 executed

The Converter seems not be recognised.

By adding an explicit dependency to the entity-soft-reference project, the error goes away:

dependencies {
    // ...

    // added explicit dependency
    implementation 'de.diedavids.jmix.softreference:jmix-entity-soft-reference-starter:1.1.0'

    implementation 'de.diedavids.jmix.taggable:jmix-taggable-starter:1.0.0-SNAPSHOT'

Is there any reason, why transitive dependencies are not scanned for custom converters? What is the desired solution - to explicitly add this transtivice dependency?


Could you create an issue for We’ll think what we can do. Meanwhile, perhaps yes, you need to specify the dependency with converters explicitly.


ok, thanks for the information. I created one:

As far as I can remember, in CUBA this problem did not exist.

It is a little bit problematic for open-source add-ons since the Jmix Studio Add Add-on feature will only add the dependency to this specific add-on. Therefore I would assume that after adding the add-on it will not compile anymore due to the above reason.