myeclipse中点击web选项时出现"the currently displayed page contains invalid values "
某一天把项目checkout下来发现部署的时候选不到该项目,右键项目点击web出现
"the currently displayed page contains invalid values"
解决办法是:
在GatewayRoute(项目名).settingsorg.eclipse.wst.common.component
如果没有这个文件则创建org.eclipse.wst.common.component
java项目转web项目的时候没有Dynamic Web Module
1.打开。setting里的org.eclipst.wst.commom.project.facets.core.xml文件
2.改成如下内容:
1
2
3
4
5
6
<?xml version="1.0" encoding="UTF-8"?>
<fixed facet="wst.jsdt.web"/>
<installed facet="wst.jsdt.web" version="1.0"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="java" version="1.7"/>
- 1
- 2
- 3
- 4
- 5
- 6
3.重启eclipse
添加内容:
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="GatewayRoute(项目名)">
<wb-resource deploy-path="/" source-path="/WebRoot" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/config"/>
<property name="java-output-path" value="/GatewayRoute(项目名)/WebRoot/WEB-INF/classes"/>
<property name="me-merge-utility-modules" value="true"/>
<property name="context-root" value="/GatewayRoute(项目名)"/>
</wb-module>
</project-modules>
最后
以上就是无限短靴最近收集整理的关于myeclipse中点击web选项时出现"the currently displayed page contains invalid values "myeclipse中点击web选项时出现"the currently displayed page contains invalid values "某一天把项目checkout下来发现部署的时候选不到该项目,右键项目点击web出现"the currently displayed page contains invalid va的全部内容,更多相关myeclipse中点击web选项时出现"the内容请搜索靠谱客的其他文章。
发表评论 取消回复