dew 发表于 2017-2-26 10:46:43

Eclipse+maven+jetty测试

  首先:按照如图步骤
  
  点开后,选中program,后点击new launch configuration,配置图如下,


  其中Name:是自己随意填写,
  Working Directory,是选择的自己要运行的工程,
  Arguments 写:jetty:run
  之后:配置run菜单的debug configurations
  如图示:


  在选中remote java application 后新建,选择自己的project,端口port要和外部工具的一致。。


  

  

页: [1]
查看完整版本: Eclipse+maven+jetty测试