myeclipse maven工程调试调试

1:使用了maven带的tomca插件进行启动。下面讲一下如何进行调试程序

2:在程序中打断点

3:选择》debug>debug configuration

               在goals处添加启动命令

         


4:在source处添加源代码

 

5:debug

注意:启动时一些产数有空指针异常:需要勾掉

             

原文地址:https://www.cnblogs.com/liyafei/p/8043481.html