I don’t use IDE since I am used to editing in vim. I tried to adopt eclipse for java work several times. But I just could not keep using it. However, I recently started to see if I can adopt netbeans for java ee development. My environment is netbeans + glassfish + maven.
I experienced several problems in the beginning
(1) NetBeans: No suitable Deployment Server is defined for the project or globally.
I found the solution here: http://wiki.netbeans.org/JAXWSNB6Maven2GlassFishV2
- Right-click the project and select Properties. Navigate to the Run tab.
- In the Server field select GlassFish V2
(2) netbeans SEC5046: Audit: Authentication refused for [admin].
Why do I see this error while I can still successfully deploy my application to glassfish from netbeans?
I found the solution here http://forums.java.net/jive/thread.jspa?threadID=35551
Just simply remove ~/.asadminpass