如果是从svn或别人电脑导出来的项目,可以删除.project下的<buildCommand>
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
<arguments>
</arguments>
</buildCommand>
和
<nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
因为一旦部署过,就会有上边两个节点。而tomcat下找不到。所以会报空指针
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
<arguments>
</arguments>
</buildCommand>
和
<nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
因为一旦部署过,就会有上边两个节点。而tomcat下找不到。所以会报空指针