jdk版本需要是1.7,tomcat需要是7且不能是开发工具自带的 下面是myeclipse2017修改jdk和tomcat https://blog.csdn.net/qq_40280200/article/details/80734432