私はかなり基本的なアプリを構築しています。私がやりたいことの1つは、100万個の個別のパラメーターを渡すのではなく、サービス->非同期->implを介してオブジェクトをパラメーターとして渡すことです。
非同期で、私は次のようなことをします:
import shared.Profile;
...
public interface ProfileServiceAsync {
public void addProfile(Profile inProf, AsyncCallback<Void> async);
現在、profileはcomのクラスです。....sharedと私は私の....gwt.xmlに次のものを持っています
<source path='shared'/>
そうは言っても、コンパイルしようとするとこのエラーが発生します。
[ERROR] Errors in 'file:/D:/projects/eclipse/workspace/.../src/com/.../client/ProfileServiceAsync.java'
[ERROR] Line 11: No source code is available for type shared.Profile; did you forget to inherit a required module?
これについて何かアイデアはありますか?