我有一個.jsp頁面(我的gwt模塊的主頁面),我試圖啓用超級開發模式,因爲我正在遷移到gwt 2.6。 按照我在互聯網上發現的解釋,一旦我啓動代碼服務器並添加小書籤,接下來我必須在瀏覽器中打開頁面,所以我從我的tomcat服務器調用jsp頁面。
問題是沒有任何反應,看着鉻控制檯,它似乎無法找到我的模塊/ module.nocache.js
任何想法?Tomcat中的超級開發模式+ JSP頁面
編輯:添加.gwt.xml
<inherits name="XXX.frontend.gwt.Framework"/>
<inherits name="XXX.frontend.gwt.sample.frontend.module.blanc.Module"/>
<!-- Specify the paths for translatable code -->
<source path='client'/>
<source path='shared'/>
<!-- Specify the application entry point class -->
<entry-point class='XXX.frontend.gwt.client.FrameworkEntryPoint'/>
<!-- Compile for specific browser -->
<!-- <set-property name="user.agent" value="ie8,ie9,ie10,gecko1_8,safari" /-->
<!-- Compile for specific language -->
<extend-property name="locale" values="fr" />
<set-property-fallback name="locale" value="fr" />
<set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE' />
<set-configuration-property name="devModeUrlWhitelistRegexp" value="http://(localhost|127\.0\.0\.1)(:\d+)?/.*" />
<add-linker name="xsiframe" />
<set-property name="compiler.useSourceMaps" value="true" />
也許這有助於.. HTTP://計算器。 com/questions/18330001/super-dev-mode-in-gwt/18333050#18333050 –
已經讀過,但它沒有幫助,因爲我的問題發生在打開我的webapp時,我想有一種連接兩臺服務器的方法,但是我仍然無法弄清楚:/ –