私は GWT/GWTPHONEGAP/MGWT プロジェクトに取り組んでおり、SuperdevMode で gwt 2.5.1 を使用する必要があります。
私はmavenと次のコマンド「classpath gwt:runcodeServer」を使用します。プロジェクトをコンパイルしてもエラーは発生しませんが、webBrowserにアクセスしてsuperDevModeを使用すると、再コンパイルできず、エラーメッセージは「このモジュールにはありません.私の* .gwt.xml には、superDevMode を有効にした次の行が含まれていますが、Super Dev モードが有効になっています。
<add-linker name="xsiframe"/>
<set-configuration-property name="devModeRedirectEnabled" value="true"/>
<set-property name="compiler.useSourceMaps" value="true" />
次のエントリポイントで
<entry-point class="**.**.*.client.MgwtAppEntryPoint" />
localhost:9876 にアクセスすると、プロジェクトが存在し、ソースが利用可能です。
maven の私の構成に従ってください:
桟橋 :
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.1.2.v20140210</version>
<configuration>
<reload>manual</reload>
<httpConnector>
<port>9090</port><!-- port 8080 already use by tiviz-web -->
</httpConnector>
<webApp>
<baseResource implementation="org.eclipse.jetty.util.resource.ResourceCollection">
<resourcesAsCSV>src/main/webapp,${basedir}/target/tiviz-gwt-0.0.1-SNAPSHOT</resourcesAsCSV>
</baseResource>
<extraClasspath>${basedir}/src/main/webapp/WEB-INF/classes</extraClasspath>
<allowDuplicateFragmentNames>true</allowDuplicateFragmentNames>
</webApp>
<systemProperties>
<systemProperty>
<name>gwt.codeserver.port</name>
<value>9876</value>
</systemProperty>
</systemProperties>
</configuration>
</plugin>
そしてgwt-maven-pluginの私の設定
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<!-- Plugin configuration. There are many available options, see gwt-maven-plugin
documentation at codehaus.org -->
<configuration>
<!-- run params -->
<copyWebapp>false</copyWebapp>
<productionMode>false</productionMode>
</configuration>
</plugin>