zoukankan      html  css  js  c++  java
  • Myeclipse错误:Errors occurred during the build. 解决方法

    问题背景:开发中多次遇到此类问题,但是每次都记不住怎么解决,所以转下来留着。

    本文向大家讲解了Myeclipse错误:Errors occurred during the build. Errors running builder ‘DeploymentBuilder’ on project …解决方法 ,感兴趣的同学参考下。
    问题描述:
    Errors occurred during the build. Errors running builder ‘DeploymentBuilder’ on project ‘myf’. java.lang.NullPointerException
    原因分析:
    此问题一般发生在Myeclipse 保存文件并自动部署时候。本人在写项目的时候,还没等部署好,关闭了了myeclipse 10,结果出现了这种情况。有一种产生此错误的原因是因为此项目不不是由myeclipse创建的,需要检查.project 文件,并且添加com.genuitec.eclipse.j2eedt.core.webnature。
    解决方法:

    1. 首先关闭MyEclipse工作空间。
    2. 然后删除工作空间下的“/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.ast.deploy.core.prefs”
    3. 取消myeclipse的自动部署:右键点击项目 ->properties -> Builders,将DeploymentBuilder勾选去除.
  • 相关阅读:
    解决Struts中文乱码问题总结
    也谈创业企业CEO该拿多少工资
    Codeforces Round #242 (Div. 2) A. Squats
    设计模式之模板方法模式
    hdu2768Cat vs. Dog (反建法,最大独立集)
    Python
    kvm
    linux bin文件制作
    python
    pytho
  • 原文地址:https://www.cnblogs.com/leishitou/p/5436199.html
Copyright © 2011-2022 走看看