This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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:
<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)
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