I write maven project and I run it in Eclipse but I want to run maven project in using command line so I write
java -jar -Dapple.awt.UIElement=\"true\" target/
You can run mavan spring-boot project using the following command
mvn spring-boot:run