Executable war file that starts jetty without maven

后端 未结 9 546
野趣味
野趣味 2020-12-04 05:03

I\'m trying to make an \"executable\" war file (java -jar myWarFile.war) that will start up a Jetty webserver that hosts the webapp contained in the WAR file I

9条回答
  •  感情败类
    2020-12-04 05:54

    Hudson solves this exact problem using the Winstone servlet container, which supports this use case directly. http://winstone.sourceforge.net/#embedding

    Perhaps this would work for you?

提交回复
热议问题