Error “java.lang.ClassNotFoundException:” When Deploying GWT Application

Today i’ve met a very weird error when trying to deploy my GWT application to my tomcat 7,

SEVERE: Exception while dispatching incoming RPC call Service method 'public abstract java.util.List LoginService.getUtilDao(java.lang.String,java.util.Map)' 
threw an unexpected exception: java.lang.NoClassDefFoundError: com/ibm/icu/text/SimpleDateFormat
	at encodeResponseForFailure(
	at invokeAndEncodeResponse(
	at invokeAndEncodeResponse(
	at org.gwtrpcspring.RemoteServiceDispatcher. invokeAndEncodeResponse(
	at org.gwtrpcspring.RemoteServiceDispatcher. processCall(
	at RemoteServiceServlet.processPost(
	at AbstractRemoteServiceServlet.doPost(

which somehow, never happen on my development mode. After searching and trying various workarounds for several hours, i finally make it work by adding icu4j.jar. Well despite icu4j.jar’s size is more than 3mb, at least i’ve make my application running well. Thank God ;-)


No Comments

Leave a Comment

Please be polite. We appreciate that.
Your email address will not be published and required fields are marked

:-[ (B) (^) (P) (@) (O) (D) :-S ;-( (C) (&) :-$ (E) (~) (K) (I) (L) (8) :-O (T) (G) (F) :-( (H) :-) (*) :-D (N) (Y) :-P (U) (W) ;-)