Forums Login/signup

module has not been deployed

+Pie Number of slices to send: Send
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.5 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.
+Pie Number of slices to send: Send
did you get this fixed?
if yes please tell me how you resolved this, i have the same problem
+Pie Number of slices to send: Send
There are very few chances of this getting solved in the Struts Forum. I'll move it to the IDE forum as the problems seems to be with netbeans (and not web services)...
+Pie Number of slices to send: Send
i'm not sure what went wrong but i did the following what solved it:
installed all librarys in the netbeans plugin system in the category Java web and EE
its working now
+Pie Number of slices to send: Send
Hi, I think I've solved the probem, maybe just for me and just on NetBeans:
- take a look on the glassfish-console, in my case it misses the hibernate-libraries for deployment
- to attach it you just have to right click on your project -> Properties -> Frameworks -> Add (and add the hibernate-framework in my case)

-> if there are some other libs missed you've to read some Glassfish-doc's and deploy the libs by hand

+Pie Number of slices to send: Send
I also faced similar problem in Netbeans 6.8 Environment with Tomcat 6.0 & get resolved by adding libraries to project.

Using Netbeans 6.8->Select Project->Right Click Properties->Select Libraries->Inside Compile Tab->Select Add Library Button->Added
Java EE6 API Library &
Java EE6 GlassFish-v3 &
Java EE Web 6 API Library


& Compile & Run the project again.

These works for me.
+Pie Number of slices to send: Send
Just come across this issue after posting my question here, https://coderanch.com/t/531653/JSP/java/best-way-display-results-set#2414095, but since it is the same issue may as well piggy back on this thread.

I have tried the above solutions but they haven't worked.

Has anyone got any other ideas to try?

Also, it is bizarre since my other package within netbeans builds and runs fine, so there must be something that has been removed somehow, somewhere.

Any help appreciated

Thanks
+Pie Number of slices to send: Send
Fixed

Issue was that I created an entry in the web.xml file BEFORE I actually created the java servlet and Netbeans being so smart couldn't handle this.

So I have just removed this entry and all is working perfectly again now :-)

Thanks

reply
reply
This thread has been viewed 45096 times.
Similar Threads
The module has not been deployed. BUILD FAILED error problem
Unable to Run web application in Netbeans IDE6.5.1...?
ERROR: The module has not been deployed
Problem running Struts 1.2.9 application in Netbeans IDE 6.5.1..?
Unable to Run Web application with Struts 1.2 in Netbeans IDE 6.5.1..?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Jun 30, 2025 19:32:24.