簡體   English   中英

gwt-如何在我的gwt項目中使用第三方Java庫?

[英]gwt - How can I use a 3rd party java library in my gwt project?

我創建了一個Editor gwt項目,該項目運行良好。

現在,我想將編輯器的數據連接到數據庫,因此我使用了3rd party database helper tool

我將db tool jar添加到我的gwt項目中,沒有任何抱怨。 我還使用此工具編寫了與db相關的代碼。

但是我只是無法在網頁中運行我的gwt項目。

我的Web瀏覽器的gwt控制台中的錯誤信息can't find the source/.xml for the db helper tool ,至少是類似的東西。

我該如何處理?

謝謝

您必須在代碼的服務器端使用DB-Tool,然后通過RPC將數據檢索到客戶端!

請參閱: https : //developers.google.com/web-toolkit/doc/latest/tutorial/RPC

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM