Skip to content

Updating from 0.0.14 to 0.1.0 breaks working Quarkus Application #166

@MarceloRuiz

Description

@MarceloRuiz

I have a multi-module Quarkus Application (that uses the jandex plugin to allow bean discovery) that works fine with plugin 0.0.14:

2024-03-17 11:25:50,169 INFO  [io.quarkus] (main) app 0.0.1 on JVM (powered by Quarkus 3.8.2) started in 0.791s. 
2024-03-17 11:25:50,182 INFO  [io.quarkus] (main) Profile prod activated. 
2024-03-17 11:25:50,182 INFO  [io.quarkus] (main) Installed features: [cdi, smallrye-context-propagation]
2024-03-17 11:25:50,185 INFO  [com.fb.app.QuarkusJFXApplication] (main) Application Started: QuarkusJFXApplication
2024-03-17 11:25:50,211 WARN  [javafx] (executor-thread-2) Unsupported JavaFX configuration: classes were loaded from 'unnamed module @3551a94'
2024-03-17 11:25:58,103 INFO  [io.quarkus] (main) app stopped in 0.012s

but when the plugin is updated to version 0.1.0, the build fails with the following error:

Execution failed for task ':app:quarkusAppPartsBuild'.
> There was a failure while executing work items
   > A failure occurred while executing io.quarkus.gradle.tasks.worker.BuildWorker
      > io.quarkus.builder.BuildException: Build failure: Build failed due to errors
        	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#registerBeans threw an exception: java.lang.IllegalArgumentException: Producer method return type not found in index: javafx.fxml.FXMLLoader

How can this be solved?
I can provide a minimal application in a zip file if needed.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions