If you don't actually need to use appengine on your server side, then disable it in your project settings and then you can use FileWriter. Otherwise, you can't use it in appengine - you are not allowed filesystem access when running on it (here's the app engine whitelist: http://code.google.com/appengine/docs/java/jrewhitelist.html). There's several ways around the restrction.
On Dec 4, 8:13 am, Arthur <[email protected]> wrote: > Hi, > > I'm trying to use FileWriter java class on server side but the google > app engine validator tells me that java.lang.NoClassDefFoundError: > java.io.FileWriter is a restricted class. I excluded the server > package of my application from google App Engine validation but I > still have this problem. Do you have any hint on how to solve this > issue ? > > Thank you -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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.
