Disable Google App Engine in your Eclipse settings. GAE doesn't allow you to
work with databases or files.


--Sri
http://blog.530geeks.com


On 17 March 2010 18:15, pau2bk <[email protected]> wrote:

> Hello,
>
> I tried to develop a small server / client program in the following
> environment:
>
> Eclipse 3.5
> GWT 2.0
> Hibernate
>
> When starting the program inside of of eclipse, I got the following
> exception
>
> java.lang.NoClassDefFoundError: java.io.FileOutputStream is a
> restricted class. Please see the Google  App Engine developer's guide
> for more details.
>
> This happens during creation of the hibernate SessionFactory (factory
> = new Configuration().configure().buildSessionFactory();)
>
> When deploying the application to a tomcat server everything works
> fine.
>
> Is there any possibility to test such an application inside of
> Eclipse?
>
> Dieter
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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.

Reply via email to