On Java, Python, Groovy, Grails, Spring, Node.js, Linux, Arduino, ARM, Embedded Devices & Web

  • Recent Posts

    September 2010
    M T W T F S S
    « Aug   Oct »
  • Subscribe Options

  • Awards

  • Most Valuable Blogger @ DZone
  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 173 other followers

  • Follow MyThinkPond on
  • Blog Stats

    • 364,698 hits
  • General Options

GWT and Spring Integration – is a restricted class

Posted by Venkatt Guhesan on September 12, 2010

When trying to integrate both Spring and GWT, one might encounter the following error in the Spring Eclipse IDE:

“ is a restricted class”. The problem happens when you try to use Spring configuration for your database. In my case, I was using Spring to update data back to a H2 database.

Well, here’s one way to deal with this issue. Disable the “Google App Engine”. Yes, based on my research, if you’re usingĀ  GWT, you can disable Google App Engine and still continue your development with GWT.

You can right click on your project and go into properties. Under [Google] -> [App Engine], you can “uncheck” – use Google App Engine. And rebuild the application and resume your debugging.

This allows you to use Spring beans to persist your data in a database.



One Response to “GWT and Spring Integration – is a restricted class”

  1. While the Google Eclipse plugin supports developing for GWT, AppEngine, or both, they’re certainly not coupled. If you’re building a GWT application, there’s no need to have enabled AppEngine unless you plan on deploying it to AppEngine.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: