Hey, Did you try something from here http://click.apache.org/docs/user-guide/html/ch04s03.html#deploying-restricted-env?
I defined task * * *<target name="deploy_resources" description="Deploy static resources">* * <taskdef name="click_deploy"* * classname="org.apache.click.tools.deploy.DeployTask"* * classpathref="project.classpath"/>* * <click_deploy dir="war/WEB-INF"* * todir="war"/>* *</target>* executed it manually and everything works nice. Mykhailo On Sat, Mar 6, 2010 at 3:05 AM, Bob Schellink <[email protected]> wrote: > Hi Anoop, > > For some reason Click is trying to deploy its resources to the file system > and since FileOutputStream is forbidden, this exception is thrown. Click > tries to detect if it can write to the file system before deploying > resources but seems the current check is not enough. > > A quick workaround is to specify a custom ConfigService that overrides the > method "isResourcesDeployable" to always return false. See the JavaDoc[1] on > how to load a custom ConfigService. > > Couple of questions: > > 1. Are you using JPA or JDO or neither? > 2. I assume your GAE version is 1.3.1? > > Would you mind opening a JIRA[2] and I'll try and find a fix for the next > release. > > kind regards > > bob > > [1]: > http://click.apache.org/docs/click-api/org/apache/click/service/ConfigService.html > [2]: https://issues.apache.org/jira/browse/CLK > > > > On 6/03/2010 05:01 AM, Anoop Engineer wrote: > >> Hi all, >> >> I tested 2.1.0 version in Google App Engine (development environment - >> eclipse app engine plugin). >> >> I have made all modifications mentioned in GoogleAppEngineListener >> javadoc page. But still, when I run the sample Date example in Google >> App Engine local development environment, I get the following error: >> >> [java] java.lang.NoClassDefFoundError: java.io.FileOutputStream is a >> restricted class. Please see the Google App Engine developer's guide >> for more details. Is there something else I should do to get this >> running? >> >> The full error log can be seen here: http://pastebin.com/7eSJj9ME >> >> Can anyone pls check this out? >> >> -Anoop >> >> >
