Friday, February 7, 2014

Re: java.lang.Exception' threw an unexpected exception: java.lang.NoClassDefFoundError: com/ibm/icu/text/SimpleDateFormat

ok thanks.. i'll try your solution.. However sorry for my stupid questions but i'm a newby on GWT and java.. ;) The source Code at line 707 is something like this:

SimpleDateFormat df = new SimpleDateFormat("dd/MM/yyyy");
String data = "04/02/2014";
Date d = df.parse(data);
...


On Fri, Feb 7, 2014 at 7:07 PM, Jens <jens.nehlmeier@gmail.com> wrote:
com.pannelli.controllo.server.GreetingServiceImpl.SQL_fasi_ciclo_per_tipologia(GreetingServiceImpl.java:707) 
com.pannelli.controllo.server is the package of the server
GreetingServiceImpl is the java class for the server
SQL_fasi_ciclo_per_tipologia(GreetingServiceImpl.java:707)  is a function on the server who start at line 707

:)) Thomas meant what source code is at that line 707.


I think you just have mistakenly chosen the wrong import of SimpleDateFormat. gwt-user.jar contains com.ibm.icu.text.SimpleDateFormat but gwt-user.jar will not be deployed on the server. I think you want to change the import to java.text.SimpleDateFormat in your server side class.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment