Hi there,
when using gwt, the server-side java code (located in the package
.server.*) is not supposed to be translated to javascript but to java
bytecode. So I implemented a service in com.mygwtapp.server which reads
from a csv-file (using the csvreader-jar). When telling the CSVReader where
my csv-file is located at, i have to catch a FileNotFoundException. Testing
that in development mode, everything works fine. When compiling and trying
to deploy via appengine, the gwt compiler says:
Errors in 'file:/ com.mygwtapp.server/CSVDataProvider.java'
Line 44: No source code is available for type
java.io.FileNotFoundException; did you forget to inherit a required module?
What am I missing...? I understand that not every client-code can be
translated to javascript, but what about the server-side code.
Thanks in advance...
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/UC0cCHtTB4QJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.