Deployment Assembly: The currently displayed page contains invalid values

后端 未结 7 869
别那么骄傲
别那么骄傲 2021-02-13 06:39

I imported a Java Web application from Sourceforge, and I did three working weeks efforts to get rid off all red crosses attached to the project name and packages, but now I cou

相关标签:
7条回答
  • 2021-02-13 07:37

    I ran into the same state in different situation after adding a Source (a folder) and trying to modify the Deploy Path. So, got the same error message: Deployment Assembly: The currently displayed page contains invalid values. Unfortunately the ideas above did not help and many seemed to suggest bigger delete/re-install operations to a seemingly small config issue.

    Unfortunately, at the given error state Eclipse (Version: Mars.2 Release (4.5.2)) did not allow go use GUI to correct things... so what I did next.

    I found out that the entries tagged: <wb-resource .... /> in the xml-file org.eclipse.wst.common.component in {workspace}/{project}/.settings -folder had incomplete entry of wb-resources. I needed to have something like this included in there:

    <wb-resource deploy-path="/" source-path="/web" tag="defaultRootSource"/>
    <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
    

    The wegb-row was incomplete and src-containing-row was missing completely. This file/location has been targeted and identified to be potentially corrupt/invalid also in earlier answers. Fixing this file did not let me get GUI work, yet. Next I had to delete couple of rows from a plugin history.

    In {workspace}/.metadata/.plugins/org.eclipse.core.resources/.history -folder I located the newest folders and deleted folders that contained the changes related to Deployment Assembly.

    After this restarted Eclipse and I could use the GUI for configurations again! I did no need to delete/re-install project (I wanted to avoid re-installing project due to lots of configuration). I hope this helps someone else running into the same error message.

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