开发者

JDBC Driver does not work with GWT?

开发者 https://www.devze.com 2023-01-26 04:05 出处:网络
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

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?


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


It seems Google has not yet released JDBC support..

0

精彩评论

暂无评论...
验证码 换一张
取 消