[jboss-user] [JBoss Seam] - seam+gwt problem

romant1 do-not-reply at jboss.com
Fri Nov 2 09:02:35 EDT 2007


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101289#4101289

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101289



More information about the jboss-user mailing list