I'm trying to build a project with maven, I did the useual: clean-install-package.
The build is successfull, but when I double click my executable jar, nothing happens.
The same thing happend to me the verry first time I did a maven build, then I didn't have a manifest that specified my mainclass, now I do...
Its must be something with the buildsetting in my pom
Anyone an idea what I'm doing wrong?
I use the same build in a different program without a prob.
The build of my pom:
It's good to be able to use someting, it's better to understand how it works.
Try running the JAR file from the command line: java -jar <jarfile>. If there are any exceptions they will be shown there.
If you're trying to create a runnable Spring Boot JAR file, you should focus more on the Spring Boot plugin. For instance, the following will take the default JAR file, rename it, and create a bigger JAR file with all dependencies bundled inside: