3 Replies Latest reply on Nov 8, 2007 4:20 AM by robjellinghaus

    seam+gwt problem

    romant1

      Hi guys,
      I am trying to use gwt with seam, but when I deploy my application (actually the same as presented in examples in the seam package when you download it). There is no problem to build it, deploy as EAR and run. But when I try to push a button to call my own RPC method gwtValidateUser(String) which returns String, I get the following error

      Exception while dispatching incoming RPC call
      com.google.gwt.user.client.rpc.SerializationException: Unknown parameter 0 type 'gwtValidateUser'
      at org.jboss.seam.remoting.gwt.GWTRemoteService.processCall(GWTRemoteService.java:254)
      at org.jboss.seam.remoting.gwt.GWTRemoteService.getResource(GWTRemoteService.java:178)
      at org.jboss.seam.servlet.SeamResourceServlet.doGet(SeamResourceServlet.java:69)
      at org.jboss.seam.servlet.SeamResourceServlet.doPost(SeamResourceServlet.java:78)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

      ....

      Caused by: java.lang.ClassNotFoundException: gwtValidateUser
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at org.jboss.seam.remoting.gwt.GWTRemoteService.getClassFromName(GWTRemoteService.java:429)
      at org.jboss.seam.remoting.gwt.GWTRemoteService.getClassOrPrimitiveFromName(GWTRemoteService.java:446)
      at org.jboss.seam.remoting.gwt.GWTRemoteService.processCall(GWTRemoteService.java:252)
      ... 40 more

      I have tried almost everything but still cannot get it work. Any ideas? Was anybody able to run the gwt example on JBoss4.2.2.GA?
      Thanx.