本文地址:http://blog.csdn.net/kongxx/article/details/7241120
首先在项目上右键选择Custom,添加一个新Goal,具体内如如下:
Goals:
jetty:run
Properties:
jpda.listen=maven
netbeans.deploy.debugmode=true
然后每次需要debug工程的时候选择这个Custom/jetty-run来运行工程。