Hi, I tried to use GWT with a third part libraries like gwt-log and
smartgwt .Application works great in the hosted mode but in the web
mode i get this exception..
ERROR: Could not find class 'com.google.gwt.json.client.JSONException'
listed in the serialization policy file
'32956641F1FE87B7499C46DC0A9FDB24.gwt.rpc'; your server's classpath
may be misconfigured
java.lang.ClassNotFoundException:
com.google.gwt.json.client.JSONException
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(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at
com.google.gwt.user.server.rpc.SerializationPolicyLoader.loadFromStream
(SerializationPolicyLoader.java:129)
at
com.google.gwt.user.server.rpc.SerializationPolicyLoader.loadFromStream
(SerializationPolicyLoader.java:71)
at
com.stagirus.framework.rpc.GWTRPCServiceExporter.doGetSerializationPolicy
(GWTRPCServiceExporter.java:181)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.getSerializationPolicy
(RemoteServiceServlet.java:117)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead
(ServerSerializationStreamReader.java:429)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:234)
at com.stagirus.framework.rpc.GWTRPCServiceExporter.processCall
(GWTRPCServiceExporter.java:428)
i could think of two solution right now.
either remove the jar which is causing the issue or have to place the
missing class on the server.
It would be of great help if some one can throw some light .
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=.