Eclipse Deployment Assembly does not appear in properties

后端 未结 5 2222
醉梦人生
醉梦人生 2020-12-14 01:56

In a new project of mine I cannot see the Deployment Assembly link in the project properties. It is There in my other projects which are configured in the same way (as far a

相关标签:
5条回答
  • 2020-12-14 02:23

    When I tried to add this config to the .project, I had the same problem that wharron, "Error Checking Project Facets", then I went to the "Project Facets" option of the build path , I choose a custom one, then checked the option "Utility Module", Applied and the next time I opened the build path the Deployment Assembly was there and working ok.

    0 讨论(0)
  • 2020-12-14 02:24

    Try to add <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature> to your .project file. The Plugin Spy (ALT+SHIFT+F1) is very helpful to find out stuff like that. The Property Page is defined in the plugin org.eclipse.wst.common.modulecore.ui and in the plugin.xml file you can see, that the DeploymentAssemblyPage is enabledWhen the projectNature is org.eclipse.wst.common.modulecore.ModuleCoreNature.

    0 讨论(0)
  • 2020-12-14 02:26

    Solved this with two simple steps

    1. right click on the project > Build path > configure build path > Project facets then make sure you have the Dynamic Web Module checked

    2. right click on the project > run as > run on server

    then you could see the error is gone by going back to

    Build path > configure build path > Deployment ssembly

    0 讨论(0)
  • 2020-12-14 02:35

    I also face the same problem and I follow the below steps and my problem was resolved.i have checked my dynamic web module in the second screen.

    0 讨论(0)
  • 2020-12-14 02:42

    As suggested in the accepted answer add <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature> to .project file and also add <nature>org.eclipse.wst.common.project.facet.core.nature</nature> to resolve "Error Checking Project Facets" in Deployment Assembly screen.

    **If importing existing project Keep "existing project descriptors" do not Overwrite as eclipse will remove these natures from .project file in most cases.

    0 讨论(0)
提交回复
热议问题