Eclipse functionality is driven by project metadata. If you do not have the correct metadata, the projects will not behave correctly.
If you are starting from scratch and creating projects in Eclipse, be sure to place all the metadata files in your version control system (including everything in the [project] /. Settings directory).
If you are using Maven to create Eclipse project metadata, make sure you find the Maven plugin that knows about WTP. I do not have a link, but I know that it exists. This ensures that when Maven generates metadata, it will have the correct metadata for web projects.
Can I change these faces? It seems to just work when I put java on 1.6, but trying to edit the dynamic web module version 2.4 to 2.5 (this is the standard on 2.4) without encountering some problems.
The principle of the facet is that the facet author can choose not to implement the logic of changing the version. Unfortunately, Java EE facsimile modules (e.g. dynamic web module) do not have a version change. Other aspects, such as Java, support this. Thus, your experience will vary from facet to facet.
If all else fails, you can edit the .settings / org.eclipse.wst.common.project.facet.core.xml file manually. Be sure to do this from Eclipse, or you will need to update the project after that. Just keep in mind that if you force changes in this way, you may need to make some manual corrections to your project content. For example, if you change the level of web specification, you may need to update deployment descriptors.
Konstantin Komissarchik
source share