When I build the war file for deployment (ant war), the GWT compiler acts as if it has never heard of java.io.Reader or java.io.BufferedReader. When I make the development build for devmode (ant javac), they build just fine. I’m using GWT 2.4.0. Does anyone know what is going on?
gwtc:
[java] Compiling module com.foo.Foo
[java] Validating newly compiled units
[java] [ERROR] Errors in 'file:[...]/Foo/src/com/foo/shared/ReaderLineIterator.java'
[java] [ERROR] Line 13: No source code is available for type java.io.BufferedReader; did you forget to inherit a required module?
[java] [ERROR] Line 21: No source code is available for type java.io.Reader; did you forget to inherit a required module?
[java] [ERROR] Aborting compile due to errors in some input files
BUILD FAILED
Not the complete package
java.iois supported by GWT.See the JRE Emulation Reference for details