2016-11-02 5 views
0

私はMavenを使って実行しようとしているjava play 2プロジェクトを持っています。私はplay2-maven-pluginを私のpom.xmlに加えました。Maven with Java play 2フレームワーク:サーバが起動しない

私は、次のコマンドmvn clean compile play2:runを実行しようとすると、私は次を得る:

`` `

[INFO] Scanning for projects... 
[INFO] 
[INFO] ------------------------------------------------------------------------ 
[INFO] Building my_project 1.0-SNAPSHOT 
[INFO] ------------------------------------------------------------------------ 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ my_project --- 
[INFO] Deleting /Users/sergenasr/my_project/target 
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ my_project --- 
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! 
[INFO] Copying 2 resources 
[INFO] Copying 3 resources 
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ my_project --- 
[INFO] Nothing to compile - all classes are up to date 
[INFO] 
[INFO] >>> play2-maven-plugin:1.0.0-alpha5:run (default-cli) > process-classes @ my_project >>> 
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ my_project --- 
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! 
[INFO] Copying 2 resources 
[INFO] Copying 3 resources 
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ my_project --- 
[INFO] Nothing to compile - all classes are up to date 
[INFO] 
[INFO] <<< play2-maven-plugin:1.0.0-alpha5:run (default-cli) < process-classes @ my_project <<< 
[INFO] 
[INFO] --- play2-maven-plugin:1.0.0-alpha5:run (default-cli) @ my_project --- 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD SUCCESS 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 35.640 s 
[INFO] Finished at: 2016-11-01T22:07:17-07:00 
[INFO] Final Memory: 11M/125M 
[INFO] ------------------------------------------------------------------------ 

` ``

しかし、私は、サーバーの実行が表示されません。

また、activator、次に~runを使用してサーバーを正常に実行できることに注意してください。私は間違って何をしていますか?

答えて

0
  1. 最新の1.0.0-beta5プラグインバージョンを使用してください。
  2. general plugin usage文書をお読みください。
  3. Play!のプラグインの使用方法のページを読むプロジェクトで使用されているフレームワークのバージョンです(一般的な使用ページにはリンクがあります)。
関連する問題