0 Replies Latest reply on Aug 11, 2011 7:09 AM by Anis Boulila

    gwt+seam

    Anis Boulila Newbie

      Hello,


      I want to use GWT with seam Framework, so i add the jar gwt-user-2.2.0.jar to my project. but when i invoke any method from the view (a xhtml page ) this exception is occured:




      Caused by: java.lang.UnsupportedOperationException: ERROR: GWT.create() is only usable in client code!  It cannot be called, for example, from server code.  If you are running a unit test, check that your test case extends GWTTestCase and that GWT.create() is not called from within an initializer or constructor.
           at com.google.gwt.core.client.GWT.create(GWT.java:92)
           at com.google.gwt.user.client.ui.UIObject.<clinit>(UIObject.java:188)
           ... 84 more



      Thanks for Help.