Never mind...obviously the gwt compiler tries to translate the .server.* - Code too, but, as it is not working, logs that with a hint, that this code will be ignored. It didn't even had to do with my problem since I had a typo in the web.xml, causing my app not to start.
Am Sonntag, 11. November 2012 18:28:54 UTC+1 schrieb UB: > > 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/-/5bOkuk7WXSUJ. 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.
