`

Errors running builder 'DeploymentBuilder' on project

 
阅读更多

1.修改java源代码后点击保存,IDE 自动编译并热部署,提示如下错误:

Errors occurred during the build.
Errors running builder 'DeploymentBuilder' on project '项目名'.
java.lang.NullPointerException

产生原因:

IDE勾选了自动编译部署,在部署调用时产生了异常。

解决办法:

取消myeclipse的自动部署:
右键点击项目 ->properties -> Builders ,将DeploymentBuilder勾选去除.

这样,系统将不会自动热部署,可点击工具栏的 Deploy Myeclipse j2ee ...进行手工部署.

 

 

此问题一般发生在Myeclipse 保存文件并自动部署时候。
Errors occurred during the build.
Errors running builder 'DeploymentBuilder' on project '项目名'.
java.lang.NullPointerException
 
有一种产生此错误的原因是因为此项目不不是由myeclipse创建的。
所以你需要检查.project 文件。

并且添加 <nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>

 

2.

1、首先关闭MyEclipse工作空间。

2、然后删除工作空间下的

“/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.ast.deploy.core.prefs”

这个文件。在这个文件中存储了一些部署项目的信息。删了这个部署的项目的信息就没有错误了。

3、重启启动MyEclipse即可解决了。

 

分享到:
评论

相关推荐

    SSM-CURD Maven管理

    平台:MyEclipse10+Tomcat7 表的字段 和 视频有些不同 但是不会影响效果的 有关json 的 用视频中的2.8.8版本没成功 ,改为2.6.5版本 内含建表语句,要保证MySQL编码为utf-8

    lab3-timer0_LED_CCS_

    【标题解析】 "lab3-timer0_LED_CCS_" 这个标题表明这是一个实验或项目,编号为“lab3”,主要关注的是使用定时器0(Timer0)来控制LED灯。"CCS"是Code Composer Studio的缩写,它是德州仪器(TI)开发的一种集成...

    MavenSeleniumProject:Maven项目测试Selenium如何与Junit和Webderiver协同工作

    在IT行业中,自动化测试是确保软件质量的重要环节。在这个场景中,我们关注的是"MavenSeleniumProject",一个使用Maven构建的项目,目的是展示如何整合Selenium WebDriver、JUnit进行Web应用的自动化测试。...

    Java一些常见的出错异常处理方法总结

    “Errors occurred during the build Errors running builder 'DeploymentBuilder' on project '项目名'. java.lang.NullPointerException”可能是由于MyEclipse的自动部署设置问题。解决方法包括检查.project文件...

    ECommerceDemo-kotlin-mvvm:使用Kotlin和MVVM架构的电子商务演示

    在本项目"ECommerceDemo-kotlin-mvvm"中,开发者运用了现代Android开发中的关键技术——Kotlin语言和MVVM(Model-View-ViewModel)架构来构建一个电子商务应用的演示。这个项目旨在展示如何在实际应用中有效地实施...

    解决Tomcat不能部署

    首先,我们来看一下这个特定的错误:"Errors running builder 'DeploymentBuilder' on project 'myf'. java.lang.NullPointerException"。这表明在构建过程中,MyEclipse的`DeploymentBuilder`遇到了问题,`...

    Senfore_DragDrop_v4.1

    It is recommended that you start by running each of the demo applications and then look through the demo source. Each demo application is supplied with a readme.txt file which briefly describes what ...

    ICS delphixe10源码版

    .\Install Component packages project groups for all versions .\Packages (was Delphi\Vc32) Delphi (7 and up) and C++Builder (2006 and up) packages projects .\Source (was Delphi\Vc32) ICS Delphi source ...

    IOS5 Programming Cookbook

    - **Performance Testing**: Running your app on a real device is essential for testing performance and battery life. Real-world conditions often differ significantly from those in the simulator. ### 6...

    Apache Geronimo 2.1_ Quick Reference.pdf

    Motivation behind the Geronimo project 7 Constituent projects 8 Apache Geronimo architecture 11 Downloading and running Apache Geronimo 12 Geronimo Administration Console 14 Information portlet ...

    EurekaLog_7.5.0.0_Enterprise

    3)....Added: IDE F1 help integration (on CHM-based IDEs only, i.e. XE8+) 4)....Added "--el_injectjcl", "--el_createjcl", and "--el_createdbg" command-line options for ecc32/emake to inject JEDI/JCL ...

    addin

    The Name Builder will correctly prefix a control with the right convention based on its type. To use it (the name builder is installed by the setup program) simply select the control and view its ...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    the number of selected items changed while the method was running. - ADD: Added the method TFlexControl.DoNeedHint - allows editing the displaying of hint for flex-object within the object. - ADD: ...

    VclZip pro v3.10.1

    If your application still does not run without the IDE, open up VCLZip's package, click on options and look at the Directories/Conditionals tab. If KPDEMO is defined, remove it and recompile the ...

    Professional C# 3rd Edition

    Compiling and Running the Program 31 Contents A Closer Look 31 Variables 34 Initialization of Variables 34 Variable Scope 35 Constants 38 Predefined Data Types 39 Value Types and Reference Types 39 ...

    最完整的Toad For Oracle使用手册

    - **Entering Comments on Check in or out**:介绍了在签入或签出时输入注释的方法。 - **Check In All**:提供了全部签入的方法。 - **Undo Checkout**:讲解了取消签出的使用方法。 - **Freezing an Object**:...

Global site tag (gtag.js) - Google Analytics