Java调用mvn总是报错
Exception in thread "main" java.io.IOException: Cannot run program "mvn": CreateProcess error=2, 系统找不到指定的文件。
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:450)
at java.lang.Runtime.exec(Runtime.java:347)
at cn.a.list_folder_contents(a.java:31)
at cn.a.main(a.java:13)