Thax you very much Thomas, I understand now cos we already generate gwt Java code into Javascript so we don't need them right. Ok I got it
On Sunday, May 11, 2014 7:22:24 AM UTC+10, Thomas Broyer wrote:
-- On Sunday, May 11, 2014 7:22:24 AM UTC+10, Thomas Broyer wrote:
On Friday, May 9, 2014 2:28:37 PM UTC+2, Tom wrote:Hi Thomas, I got gwt-dev.jar & gwt-user-2.5.0.jar in myApp\war\WEB-INF\lib. The reason is that is i don't have these 2 jar files in myApp\war\WEB-INF\lib, then everytime I run myApp in Eclipse, eClipse warning that it can find class in the eclipse clathpath but not from myApp\war\WEB-INF\lib.I remembered a few months ago, you said if we saw these kinds of warning in Eclipse then we need to include the jar file into myApp\war\WEB-INF\lib otherwise it may not work after deployed.Now, if I remove gwt-dev.jar & gwt-user-2.5.0.jar in myApp\war\WEB-INF\lib & deploy myApp then will myApp running ok?You should not need to deploy gwt-dev or gwt-user, and you must not deploy them (for many reasons, including the exception you're seeing here).You might need gwt-servlet.jar though.Or if you use some third-party lib that happens to be bundled within either gwt-dev or gwt-user (e.g. ICU4J, Commons Collections) then you should grab JARs for those deps and put them in your webapp.
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/d/optout.
No comments:
Post a Comment