私のプロジェクトでは gwt 1.7 を使用しましたが、最近 2.0 にアップグレードしました。今、私はこのエラーがあります:
ERROR: Unable to find 'portal.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
ERROR: Failed to load module 'portal' from user agent 'Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:18.0) Gecko/20100101 Firefox/18.0' at localhost:40456
Portal - ロードするモジュールの名前です。このファイルは実際にはありません。代わりに、これを含む Application.gwt.xml があります。
<module rename-to="portal">
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.extjs.gxt.ui.GXT'/>
<inherits name='com.google.gwt.http.HTTP'/>
<source path="client"/>
<source path="data"/>
<source path="com.extjs.gxt.ui.client.data.BaseModel"/>
<source path="com.thoughtworks.xstream.XStream"/>
<!-- Inherit AMPS Applica module. -->
<inherits name="com.example.core.application.AmpsApplicationApi"/>
<inherits name="com.example.core.domain.CoreDomainApi"/>
<!-- inherit css based theme -->
<!-- Specify the app entry point class. -->
<entry-point class='com.example.portal.ui.client.Application'/>
<!-- Specify the application specific style sheet. -->
<stylesheet src='Application.css'/>
<!--<stylesheet src='loginPage.css'/>-->
</module>
以前は機能しているように見えましたが、現在は機能していません。
PS私はIntellij Idea 12を使用しています