Getting java.lang.NoClassDefFoundError: com/ibm/icu/util/ULocale after migrating to JViews 8.8

Article ID: 2427
Last updated: 01 Dec, 2014
Article ID: 2427
Last updated: 01 Dec, 2014
Revision: 1
Views: 1482
Posted: 26 Mar, 2012
by Dean J.
Updated: 01 Dec, 2014
by Cadot J.

Question

Why do I get java.lang.NoClassDefFoundError: com/ibm/icu/util/ULocale after migrating to JViews 8.8?

Cause

The exception arises because ICU4J library is missing in the CLASSPATH.

Answer

Starting from JViews 8.8, the ICU class ULocale is used together with the JRE class java.util.Locale to specify the locale of a user. As it is used for all the globalization implementation of JViews, you must include the ICU4J library in the CLASSPATH of your JViews application. JViews 8.8 ships with ICU4J version 4.8, which can be located in jviews-framework88/lib/external/icu4j-4_8.jar.

For details of the globalization implementation of JViews 8.8, refer to Software globalization in JViews section in the product documentation.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2427
Last updated: 01 Dec, 2014
Revision: 1
Views: 1482
Posted: 26 Mar, 2012 by Dean J.
Updated: 01 Dec, 2014 by Cadot J.

Others in this category