アプリケーションで TimeZone 設定を提供したいので、smart Gwt を使用してブラウザからタイム ゾーンを取得する必要があります。タイムゾーンの取得方法を教えてください。実際にsmart gwtアプリでJavaコーディングを以下のように書いてみましたが、
String timezones[]=java.util.TimeZone.getAvailableIDs();
for(int i=0;i<(timezones.length)-1;i++)
{
System.out.println(timezones[i]);
}
しかし、うまくいかず、次のように例外をスローしています。
[ERROR] [timezoneproject] Line 32: No source code is available for type java.util.TimeZone; did you forget to inherit a required module
[ERROR] [timezoneproject] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
どうすればこれを解決できますか?