Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Updating from 0.0.14 to 0.1.0 breaks working Quarkus Application #166

Open
MarceloRuiz opened this issue Mar 17, 2024 · 2 comments
Open

Comments

@MarceloRuiz
Copy link

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!

@nlisker
Copy link

nlisker commented Apr 21, 2024

I don't know about that specific error, but 0.1.0 made some big changes and there's a migration guide from 0.0.14 in the README: https://github.com/openjfx/javafx-gradle-plugin#migrating-from-0014-to-010. Maybe that will help.

@MarceloRuiz
Copy link
Author

@nlisker Thanks for the link, I was aware of it, but it did not help in my case...

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants