Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassNotFoundException: com.ibm.icu.util.ULocale #3

Closed
gaspo100 opened this issue Jul 22, 2011 · 2 comments
Closed

ClassNotFoundException: com.ibm.icu.util.ULocale #3

gaspo100 opened this issue Jul 22, 2011 · 2 comments

Comments

@gaspo100
Copy link

When I deploy my app to server I get this exception:
"java.lang.ClassNotFoundException: com.ibm.icu.util.ULocale"

It works fine in development mode where ULocale is available through gwt-dev.jar.
However, after deploying, ULocale is not available in GWT's server side module (get-server.jar).

@mattbertolini
Copy link
Owner

This is by design. You need to add the ICU4j jar located at http://site.icu-project.org/ to your classpath. The reason you have the ICU classes inside the gwt-dev.jar is because GWT includes them for its Java to JavaScript compiler. This is regrettable since it often times falsely reports the files on your classpath. Add the ICU4J jar and let me know if it works. Thanks.

@gaspo100
Copy link
Author

Thanks, yes it works now with ICU4J jar. Quite large jar though (7MB).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants