Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

java.lang.NoClassDefFoundError - sun.text.normalizer.NormalizerImpl

Hello,
Im deploying a Talend REST job in a Linux server to create a PDF from database fields using a 3rd-party Java library. Everything works perfectly when I test it on the Talend program, but when I try to deploy it in the container, I am getting the following error:
INFO   | jvm 1    | 2016/01/04 04:57:54 | java.lang.NoClassDefFoundError: Could not initialize class sun.text.normalizer.NormalizerImpl
INFO   | jvm 1    | 2016/01/04 04:57:54 | at java.text.RBTableBuilder.build(RBTableBuilder.java:107)
INFO   | jvm 1    | 2016/01/04 04:57:54 | at java.text.RBCollationTables.<init>(RBCollationTables.java:83)
INFO   | jvm 1    | 2016/01/04 04:57:54 | at java.text.RuleBasedCollator.<init>(RuleBasedCollator.java:300)
INFO   | jvm 1    | 2016/01/04 04:57:54 | at java.text.Collator.getInstance(Collator.java:268)INFO   | jvm 1    | 2016/01/04


To see the whole post, download it here
Labels (4)
2 Replies
Anonymous
Not applicable
Author

Hi jiúnmilsso,
there is not enough info here to really answer your question but a few things you might check:
1. as you use  tRESTRequest you exported for 'OSGi for ESB' (either as kar file (for TOS4ESB) or via the Publish to the Aritfact Repo). If not, then do it this way before you continue.
2. the external library might require an extra tLibraryLoad component in your Job, if you do not have this one right now, pleasetry to add it and see if it solves your problem.
As said, just some starting points to look at but it might help. If not let us know. 
Dietmar 
Anonymous
Not applicable
Author

Hi dlenzen,
1. Thanks for the initial help. I have already exported it as OSGi for ESB and is now in the container.
2. I think it is an internal library since the Java autocompelter shows it when I try to import it in the advanced settings of a Java component. (please see screenshot):
0683p000009MCrw.png
Hope these answers can help pinpoint the problem further.
Best regards,