How I run maven project in cmd line

后端 未结 6 1853
失恋的感觉
失恋的感觉 2021-02-02 17:49

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/         


        
6条回答
  •  逝去的感伤
    2021-02-02 18:44

    You have called the java command from an incorrect path ( i.e., Windows/system32 ) instead of your projects base directory .... cd to your projects base directory and try again .... That might solve your problem ....

提交回复
热议问题