eclipse创建web项目时,提示错误:one or more constraints have not been satisfied.展开详情:Cannot install project facet Java 17. Some version of this project facet is already installed.
这个问题困扰了我很久,在网上也找了很多教程,试了也都没有解决,最后发现是安装的插件问题!
刚开始看网上的教程,在work with这里输入了Kepler - http://download.eclipse.org/releases/kepler,进行查找安装
结果在新建web project时一直爆出如下错误:
后来才发现要在下拉选项中选择符合自己eclipse版本的才可以!!
如下图:
我的eclipse是2021,所以我选了2021这个