Eclipse使用 junit测试, 报 “The builder launch configuration could not be found” 错误
解决方法如下:
- Package Explorer 视图下选中项目名
- 右键项目名,然后选择Properties 或者 在Eclipse 工具栏中选择 Project -> Properties
- 弹出的 Properties 对话框中,点击 Builders
- 将没有勾选,缺失的 builder 移除掉
- 点击 OK 按钮
DONE!
Eclipse使用 junit测试, 报 “The builder launch configuration could not be found” 错误
解决方法如下:
DONE!
PM2中重启服务时,出现下面提示:
PM2: path.js:422
PM2: var path = (i >= 0) ? arguments[i] : process.cwd();
PM2: ^
PM2:
PM2: Error: ENOENT: no such file or directory, uv_cwd
PM2: at Error (native)
PM2: at Object.posix.resolve (path.js:422:50)
PM2: at Function.Module._resolveLookupPaths (module.js:248:17)
PM2: at Function.Module._resolveFilename (module.js:326:31)
PM2: at Function.Module._load (module.js:286:25)
PM2: at Module.require (module.js:365:17)
PM2: at require (module.js:384:17)
PM2: at Object.<anonymous> (/usr/local/bin/node_modules/pm2/lib/ProcessContainer.js:12:15)
PM2: at Module._compile (module.js:434:26)
PM2: at Object.Module._extensions..js (module.js:452:10)
出现这种情况原因很可能是你不经意间修改了当时启动服务时的目录,比如修改了目录名,移动了目录等, 可以通过下面的方法核实下:
原因:
最终解决方案: