Thursday 27 August 2015

Problem: failed to create task or type nbdeploy?? SOLVED!!

 After a long time , I was testing my project in Java EE but  unfortunately i encountered the following the error: 

Problem: failed to create task or type nbdeploy 
Cause: The name is undefined. 
Action: Check the spelling. 
Action: Check that any custom tasks/types have been declared. 
Action: Check that any / declarations have taken place. 

BUILD FAILED (total time: 2 seconds)  

Then after several futile attempts , I finally get a solution to my problem and it really helped me a lot.

Actually , i disabled the plugins responsible for Java EE and Web related applications .

To enable this , Go to Tools >> Plugins >>Installed Tab >> Check Java Web and EE checkbox.

The problem is solved.