- Published on
maven 命令行启动程序
- Authors
- Name
- JiGu
- @crypto20x
- cd到pom.xml根目录
- mvn exec:java -Dexec.mainClass=com.alibaba.nacos.DcepNacosApplication (包名.启动类) -f xxx/pom.xml
Maven: How to run a .java file from command line passing arguments - Stack Overflow
Maven: How to run a .java file from command line passing arguments - Stack Overflow