2011-11-02 42 views
1

所以我根據文檔安裝了我的Play 1.2.3服務器的greenscript-1.2.6k模塊。 當我啓動服務器,並擊中了該頁面中的一個錯誤,我得到:Playframework Greenscript錯誤:類型配置器已經定義

The file {module:greenscript-1.2.6k}/app/controllers/greenscript/Configurator.java could not be compiled. Error raised is : The type Configurator is already defined

任何想法,爲什麼我收到此錯誤?

回答

1

我已經安裝了greenscript模塊,並作爲一個依賴項,導致它們被編譯兩次。

+0

謝謝,我有同樣的問題。 進入application.conf並搜索行: module.greenscript = $ {play.path} /modules/greenscript-1.2.8b 評論/刪除它,你很好! –