Skip to content
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

jar file not generated #1821

Closed
vinay-kumarch opened this issue Mar 16, 2025 · 1 comment
Closed

jar file not generated #1821

vinay-kumarch opened this issue Mar 16, 2025 · 1 comment

Comments

@vinay-kumarch
Copy link

I'm trying to build a jar file and run it from the command line
./mvnw package
target folder is created..however, jar file is missing.How to get the required jar to launch the application.

below is the snapshot of the target folder,

Image

java -jar target/*.jar

@dsyer
Copy link
Member

dsyer commented Mar 26, 2025

There's a 68MB jar file there. Is that not working? I think your shell is not expanding the glob - just use the full file name or get a better shell.

@dsyer dsyer closed this as completed Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants