Thanks....I ended up creating a new project and explicitly disabled the app
engine from the project before copying my code over to the new project.
 This worked.

2010/6/24 Jaroslav Záruba <[email protected]>

> GAE does not allow this. In other words, yes, on GAE you have to live with
> Datastore-backed persistence.
>
> It is weird though that you're getting error message mentioning GAE when
> you're not using it. You might be able to tell "how much is GAE actually
> disabled" by contents of Project -> Properties -> Java Build Path ->
> Libraries.
>
> On Thu, Jun 24, 2010 at 10:33 PM, Lisa <[email protected]> wrote:
>
>> Hi,
>>
>> I have gwt 2.0.3 installed and I'm trying to access a mysql
>> database.
>>
>> I'm getting this error when trying to get a connection to my database:
>>
>> java.sql.SQLException: java.lang.NoClassDefFoundError:
>> java.net.InetAddress is a restricted class. Please see the Google  App
>> Engine developer's guide for more details.
>>        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1075)
>>        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
>>        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)
>>        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:929)
>>
>>
>> Also, my project has the app engine enabled.  Am I tied to the app
>> engine persistence method if the app engine is enabled within my
>> project (when I set up my project, this property was enabled by
>> default)?  I also disabled the app engine from my project to see if I
>> could get a connection to the MySQL database but I got the same error.
>>
>> Thanks!
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-appengine%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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-appengine?hl=en.

Reply via email to