How do I change the Java version of my “installed project facet” in Eclipse?

前端 未结 3 2031
日久生厌
日久生厌 2021-02-05 21:13

I just installed Eclipse 3.7 and the Google Plugin for Eclipse because I want to teach myself how to use Google App Engine.

When I create a new web application and run,

3条回答
  •  有刺的猬
    2021-02-05 21:54

    In case you have not yet found a solution or somebody else is facing this problem:

    I had the same problem with the "Project facet" and not having the "Project Facets" page in the project properties when switching from 1.7 down to 1.6. I was able to fix it with editing the file org.eclipse.wst.common.project.facet.core.xml in the project folder .settings.

    In this file I had the following code, in which the 1.7 was replaced by 1.6 and the error went away:

        
        
        
        
    

    EDIT: I forgot to mention that you have to edit the filters on the "Package Explorer" to show .* resources: Select "View Menu" (the down-facing arrow) -> Filters... -> uncheck ".* resources" -> click "Ok" and you should see the .settings folder.

提交回复
热议问题