Technote (troubleshooting)
Problem(Abstract)
java.lang.NoClassDefFoundError: com/ibm/icu/util/ULocale when migrating to JViews 8.8
Symptom
Getting the following exception while migrating from JViews 8.7 to JViews 8.8, and just by changing the libraries:
Exception in thread "main" java.lang.NoClassDefFoundError: com.ibm.icu.util.ULocale
at ilog.views.util.IlvLocaleUtil.getThreadULocale(Unknown Source)
Cause
In JViews 8.8 you can take advantage of extensive globalization improvements when using ICU4J. Therefore, in JViews 8.7 it is okay not to include the icu4j.jar in the classpath, but with JViews 8.8 you might need to explicitly add this jar file to your classpath.
Resolving the problem
Add the icu4j.jar to your classpath. A version of this jar file is being provided in the <jviews-framework88>\lib\external folder.
| Segment | Product | Component | Platform | Version | Edition |
|---|---|---|---|---|---|
| Business Integration | IBM ILOG JViews Charts | General | Platform Independent | 8.8 | Edition Independent |
| Business Integration | IBM ILOG JViews Maps | General | Platform Independent | 8.8 | Edition Independent |
| Business Integration | IBM ILOG JViews Enterprise | General | Platform Independent | 8.8 | Edition Independent |
| Business Integration | IBM ILOG JViews Diagrammer | General | Platform Independent | 8.8 | Edition Independent |
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.