There is an error in invoking javac. A full JDK (not just JRE) is required 这个错误是因为jetty启动的时候默认会去系统目录找java.exe运行。 只需要删除windows下的java.exe文件 重启即可