maven项目用的是jdk,而普通web项目用的是jre。 如下博文更详细: https://blog.csdn.net/lslk9898/article/details/73836745 转载于:https://www.cnblogs.com/csh520mjy/p/11016221.html