当前位置: 代码迷 >> .NET Framework >> play framework2.1击war包
  详细解决方案

play framework2.1击war包

热度:179   发布时间:2016-05-01 23:54:37.0
play framework2.1打war包

首先,使用过play1.*版本的开发者应该都知道要将play项目打包发布,可以直接使用play war命令,但是到了2.*以上的版本,已不再支持play war来打包项目。这里将原因解释如下:
They haven't done this because the Servlet3.1 spec has not been released yet. Play 2 supports some features that cannot be supported with Servlet containers <3.1 (probably stuff like web sockets). However, there is a 3rd party plugin that provides this functionality (as long as you avoid the unsupported features):https://github.com/dlecan/play2-war-plugin

所以,想打包的各位直接去上述网站吧,解释很详细,我就不多说了。

  相关解决方案