문제

I'm using Play Framework 1.2.5.3. When I run the WAR command on my project, what I get is a directory with the .war extension. Inside the directory is a WEB-INF dir and the rest of my project inside that.

Isn't the play war command supposed to package the project as a standard WAR jar for deployment on a web server? What am i missing?

도움이 되었습니까?

해결책

Play framework creates the war in the exploded directory format and not as a compressed file. It is mentioned as part of the play framework deployment documentation:

Please note that your application server must support deployment of exploded WAR files.

다른 팁

I know some containers (like JBoss) allow you to deploy directories like this in the same way as an archive, with the .war extension. It's called an "exploded artefact/deployment".

Link

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top