`
liuwangxia
  • 浏览: 135222 次
  • 性别: Icon_minigender_1
  • 来自: 黄石
社区版块
存档分类
最新评论

在Eclipse下用m2eclipse调试Maven Web项目

    博客分类:
  • Java
阅读更多
想在Eclipse调试Maven Web项目,发现有比Debugging with the Maven Jetty Plugin in Eclipse(在Eclipse中调试Maven项目)更简单的方法,就是用m2eclipse。步骤如下:

1)安装 m2eclipse 插件,插件更新地址:http://m2eclipse.sonatype.org/update/

2)点“Debug Configurations...”菜单,新建一个“Maven Build”,输入“Base directory”,在“Goals”中输入jetty:run -Djetty.port=8080
5
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics