解决Idea 导入maven工程编译 Error running 'tms [clean]': Cannot run program "C:\Program Files

原文链接:https://blog.csdn.net/qq_26614885/article/details/77169490

 

 

在导入其他机器的Idea的setting.jar文件到本机maven编译运行时20:18 Error running 'tms [clean]': Cannot run program "C:\Program Files\Java\jdk1.8.0_131\bin\java" (in directory "E:\JavaCode\2.src\tms"): CreateProcess error=2, 系统找不到指定的文件的错误

 

导航:Preferences> Maven > Runner> JRE>Use JAVA_HOME.

 Environment那里不用改

解决Idea 导入maven工程编译 Error running 'tms [clean]': Cannot run program "C:\Program Files

 

上一篇:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?


下一篇:类库探源——System.Drawing