“无法安装项目构面"创建项目时出错? [英] "Cannot install project facet" error while creating a project?

查看:198
本文介绍了“无法安装项目构面"创建项目时出错?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从存储库中获取了项目,并且按照设置说明,我尝试在eclipse中创建一个项目,并将该位置指向从存储库下载代码的位置.然后,当我单击完成时,出现错误提示

I got the project from repository and as per the set-up instructions I tried to create a project in eclipse and pointed the location to where I downloaded the code from repository. Then when I click on finish I got the error stating

未满足一个或多个约束.无法安装项目构面Java 1.6.该项目构面的某些版本已安装. 无法安装项目构面动态Web模块3.0.此项目方面的某些版本已安装."

"One or more constraints have not been satisfied. Cannot install project facet Java 1.6. Some version of this project facet is already installed. Cannot install project facet Dynamic Web Module 3.0. Some version of this project facet is already installed."

如何解决这个问题?

推荐答案

我解决了这个问题.解决方案是我必须转到项目位置的".settings"文件夹,并删除"org.eclipse.wst.common.project.facet.core.xml"文件,然后再次重新启动该过程.这次它起作用了. 感谢您的帮助.

I resolved this one. The solution is I have to goto to the ".settings" folder which is at the project location and deleted "org.eclipse.wst.common.project.facet.core.xml" file and restarted the process again. This time it worked. Thanks for your help.

这篇关于“无法安装项目构面"创建项目时出错?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆