在我的 playN 项目中,我收到很多 gwt 编译错误,如下所示。有人可以给我一个提示吗?这些是 Maven 项目。
['jar:file:/home/user/.m2/repository/com/google/gwt/gwt-user/2.4.0/gwt-user-2.4.0.jar!/com/google/gwt/logging 中的错误/server/RemoteLoggingServiceUtil.java'
Line 69: The method logRecordFromJson(String) from the type JsonLogRecordServerUtil refers to the missing type JSONException
Errors in 'jar:file:/home/user/.m2/repository/com/google/gwt/gwt-user/2.4.0/gwt-user-2.4.0.jar!/com/google/gwt/logging/server/StackTraceDeobfuscator.java'
Line 53: No source code is available for type java.util.regex.Pattern; did you forget to inherit a required module?
Line 60: No source code is available for type java.io.File; did you forget to inherit a required module?
Line 176: No source code is available for type java.io.InputStream; did you forget to inherit a required module?
Line 180: No source code is available for type java.io.FileInputStream; did you forget to inherit a required module?
Line 206: No source code is available for type java.io.BufferedReader; did you forget to inherit a required module?
Line 207: No source code is available for type java.io.InputStreamReader; did you forget to inherit a required module?
Line 239: No source code is available for type java.util.regex.Matcher; did you forget to inherit a required module?
Errors in 'jar:file:/home/user/.m2/repository/com/google/gwt/gwt-user/2.4.0/gwt-user-2.4.0.jar!/com/google/gwt/place/rebind/PlaceHistoryGeneratorContext.java'
Line 196: The method format(String, String, String) is undefined for the type String
Line 202: The method format(String, String, String, String) is undefined for the type String
Line 212: The method format(String, String, String, String) is undefined for the type String
Line 285: The method getCanonicalName() is undefined for the type Class<capture#2-of ? extends PlaceTokenizer<?>>
Line 289: The method getSimpleName() is undefined for the type Class<WithTokenizers>
Line 290: The method getCanonicalName() is undefined for the type Class<capture#4-of ? extends PlaceTokenizer<?>>
]