Bookix
Bookix

Reputation: 115

JDBC Driver does not work with GWT?

I want to access to an external MySQL server from my server using GWT, I added the mysql-connector jar to the build path and in war/WEB-INF/lib

Although I get this exception:

java.lang.NoClassDefFoundError: com.mysql.jdbc.Driver is a restricted class. Please see the Google App Engine developer's guide for more details.

Any ideas? Would jdbc driver be on a black-list?

Upvotes: 1

Views: 1775

Answers (2)

Bookix
Bookix

Reputation: 115

It seems Google has not yet released JDBC support..

Upvotes: 1

dagge
dagge

Reputation: 1155

App Engine doesn't support JDBC. Maybe your project is set to target App Engine. If you're using Eclipse, right click the project, choose properties, and under "Google>App Engine" deselect "Use Google App Engine".

Upvotes: 1

Related Questions