How to run jetty from within intellij?

后端 未结 1 1023
时光取名叫无心
时光取名叫无心 2021-02-14 05:16

How can I start up a jersey or spring mvc app from intellij (ultimate edition) using jetty adn debug an api call and break on the end point?

I don\'t won\'t to setup a c

1条回答
  •  生来不讨喜
    2021-02-14 05:52

    You can also add jetty plugin to maven:

    
        
            
                org.eclipse.jetty
                jetty-maven-plugin
                9.2.2.v20140723
            
        
    
    

    And then run maven command to start server and deploy application:

    mvn jetty:run
    

    0 讨论(0)
提交回复
热议问题