Reputation: 414
While doing a Test upgrade from Domino 9 FP8 to Domino 9 FP10 HF197 on an application that uses an external JAR "com.google.gson" ran into an error of java.lang.NoClassDefFoundError:. The application works fine on the FP8 installation with the JAR in the NSF file. But on the FP10 installation I had to copy the JAR in the jvm/lib/ext folder for the application to work. I read several posts and play around with the Build, Manifest and other settings but nothing made any different. Can someone explain what I'm missing with the eclipse setup or does external JAR now need to go into the jvm/lib/ext folder ? We also upgrading the Domino 10 are there any issues that I need to look out for like this ? Thank you Bob
Upvotes: 0
Views: 170
Reputation: 2807
Well, you get some "presents" when you update. You have already seen that the jars in the lib/ext.
However, this is also true about the lib/security directory. So any permissions you have set in the "java.policy" file will also be lost.
At some point you could use a "java.pol" file to put your own changes - but it appears that this does not work any more (see comments in this article).
So chances are that you need to re-add any customisations to the "java.policy" file :-)
/John
Upvotes: 1
Reputation: 20394
The GSon library should actually be available in a core Domino installation. The library is used in the Verse plugin. So no external lib needed
Upvotes: 0