NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Problem: failed to create task or type nbdeploy

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
snooker7



Joined: 01 Nov 2008
Posts: 3

PostPosted: Sat Nov 01, 2008 4:43 pm    Post subject: Problem: failed to create task or type nbdeploy Reply with quote

Help please. I am new to Netbeans. I am trying to deploy the web service endpoint in the firstcup tutorial and get this error message from the Netbeans 6.1 IDE.

The output looks like this:

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
<drive>\Sun\AppServer\MySamples\firstcup-dukes-age\nbproject\build-impl.xml:557: 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 <presetdef>/<macrodef> declarations have taken place.
BUILD FAILED (total time: 2 seconds)

The build-impl.xml target tag looks like this:

<target if="netbeans.home" name="-run-deploy-nb">
<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
</target>

I have attached the xml files.

thanks in advance for any advice you can give me.
Back to top
snooker7



Joined: 01 Nov 2008
Posts: 3

PostPosted: Mon Nov 03, 2008 12:07 am    Post subject: Reply with quote

no need to reply... I finally got by this problem on my own... thanks anyway.
Back to top
blevinson



Joined: 24 Apr 2009
Posts: 1

PostPosted: Fri Apr 24, 2009 4:53 pm    Post subject: How did you fix it? Reply with quote

Could you please let us know how you fixed it.

Regards,
Brant
Back to top
snooker7



Joined: 01 Nov 2008
Posts: 3

PostPosted: Tue Apr 28, 2009 2:09 pm    Post subject: Reply with quote

Sorry about the delay in replying:

I think I did a Clean and Build and/or followed by a Build.
Back to top
michael.adkins



Joined: 12 Mar 2013
Posts: 1

PostPosted: Tue Mar 12, 2013 7:14 pm    Post subject: Doesn't Work For Me. :'( Reply with quote

For me, someone who is using Netbeans 7.2, that approach isn't working for me. Sad

Whenever I try to clean, it gives me the same error. Although, the cause might be different.

Quote:
...\nbproject\build-impl.xml:1396: Problem: failed to create task or type nbundeploy
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

BUILD FAILED (total time: 0 seconds)
Back to top
arksoft



Joined: 21 Sep 2011
Posts: 2

PostPosted: Tue Apr 02, 2013 8:28 pm    Post subject: failed to create task or type nbdeploy Reply with quote

Installed plugin Java EE Base and the problem was solved.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo