-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example TodoApp: java.lang.NoClassDefFoundError: java/sql/DriverManager #381
Comments
This bug looks potentially similar in shape to #377 |
Likely required module is called via reflection and is not included by jpackage reachability analysis. Need to add it explicitly, like in https://github.com/JetBrains/compose-jb/blob/1d5fdbcc73f3e0d6134e9dd7d8bd579afc7a69cd/examples/imageviewer/desktop/build.gradle.kts#L30 |
9df0bfc shall fix it. |
@olonho Thanks, it worked! |
I now have an issue with sqlite-driver.
Can anyone explain, why it happens? |
@muhammadyusuf-kurbonov Can you please provide minimal reproducible sample on GitHub? |
https://github.com/JetBrains/compose-jb/tree/update_versions_in_examples/examples/todoapp https://github.com/muhammadyusuf-kurbonov/LogisticsControlSystem simple run |
Great. Thank you |
Thanks, I add notice about your case in this issue: #2668 |
Greetings, the same problem is happening to me right now and I am trying to solve it by placing the modules("jdk.crypto.ec") but it does not solve my problem, what do you suggest I do? |
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
The example TodoApp crashes when launched via
runDistributable
Gradle task, but works fine when launched viarun
task.The text was updated successfully, but these errors were encountered: