MyEclipse中的项目在Manage Deployments窗口中找不到
2015-11-13 18:03
615 查看
原因:项目文件.project缺失nature属性的配置
正常的项目.project的内容
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>OMS-DAL</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.springsource.ide.eclipse.gradle.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
</natures>
</projectDescription>
正常的项目.project的内容
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>OMS-DAL</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.springsource.ide.eclipse.gradle.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
</natures>
</projectDescription>
相关文章推荐
- Eclipse中的快捷键
- java.lang.UnsupportedClassVersionError: Bad version number in .class file异常的处理方法
- Eclipse安装SVN插件
- Java NIO教程(九)ServerSocketChannel
- Spring 读书笔记-----使用Spring容器(一)
- Java每日登陆 和 月卡功能
- Spring读书笔记-----使用Spring容器(二)
- Spring读书笔记-----Spring的Bean之Bean的基本概念
- Java NIO教程(八)SocketChannel
- java递归解迷宫 求所有解
- Debug日志(一)——session失效引发struts死循环
- 【leetcode】Convert Sorted Array to Binary Search Tree
- 没有纳入spring管理的类如何注入spring管理的对象
- 解析Java的InputStream类并借助其读取ppt文件
- Java NIO教程(七)FileChannel
- spring事务管理 详解
- Gson+JsonPath+泛型 java json解析工具类
- jsp+servlet+javabean
- 第8条:覆盖equals时请遵守通用约定
- java远程调用接口(post方法)之extjs跨域访问