-
Notifications
You must be signed in to change notification settings - Fork 148
Description
Thanks for making this plugin.
I'm submitting a…
- bug report
- feature request
- other
Short description of the issue/suggestion:
The generated application crashes. After investigation, it's because the runnable start generated by the plugin is not a fat jar (standalone application), it doesn't include the dependencies required by the application.
Steps to reproduce the issue/enhancement:
- Create an application with a dependency
- Run the plugin
- Try to run the generated runnable jar
What is the expected behavior?
The generated runnable jar should run as a standalone application.
It should be a fat jar with all dependencies required by the application included.
What is the current behavior?
The runnable jar crashes with a java.lang.ClassNotFoundException because it doesn't find the class required in the dependency.
Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?
It's a private project... If my description is not good enough, please let me know and I will try to create a simple reproducer.
What is the motivation / use case for changing the behavior?
Just make it work :)
Please tell us about your environment:
- JavaPackager version: 1.6.6
- OS version: macOS, Linux, Windows (I tested on different machines, same problem)
- JDK version: 18
- Build tool:
- Maven
- Gradle
Other information (e.g. related issues, suggestions how to fix, links for us to have context)
Thank you!