2016-01-04 66 views
0

今天我創建jhipster並創建實體(作者和書)與教程相同並且完美運行,但是今天我再次運行(使用gradlew bootRun),但結果爲空,命令運行時沒有錯誤,但頁面爲空白(僅顯示頁腳)。請有人幫我解決我的問題? the first looking command, could not find specific ehcache for Books, Author, Author Books 第一望着命令,無法找到書籍,作者,作者書籍JHipster再次運行但失敗

after adding ehcache.xml for Book, Author, and Author.books but still remain blank page 具體的Ehcache將ehcache.xml中的圖書,作者和Author.books後,但結果仍然空白頁

enter image description here

+0

未來,您的問題將更容易閱讀和搜索,如果您將代碼/輸出作爲文本而不是粘貼在文本的圖片中。 – SteveDonie

+0

oke @SteveDonie,感謝提示 –

回答

2

確保你已經開始使用grunt serve或者如果你正在使用gulfp的等價命令來使用grunt。

使用F12打開您的Web控制檯並檢查是否有任何「未找到資源」錯誤。如果您看到很多錯誤,請嘗試刪除您的bower_components文件夾,然後重新運行bower install

ehcache警告可以安全地忽略。

+0

重新嘗試和評論註銷文件app.js(對於angular.module('mwadmin6App',[]))和index.html for bower_components聲明,現在應用程序已完美運行。 –

+0

太棒了!我沒有看到您的其他評論,因爲這是一個「答案」,下次您應該直接回復答案,以便其他用戶將得到通知。 – geraldhumphries

+0

因爲角色不足以作爲評論,所以我將其作爲答案 –