Gathering Information about Licence Errors
In general case, when the there is an issue with the installed license, the following message is displayed in the Java console:
Exception in thread "main" java.lang.ExceptionInInitializerError Caused by: java.lang.RuntimeException: JNIWrapper license check failed: No valid license found.
If you can see the following message, it is recommended to perform the following actions:
Run your Java application with the licence debug info enabled. The information about all found licences will be printed out to the Java console. In many cases this information will help to resolve the issue.
There are a few ways to enable the debug information printing:
Pass -Dteamdev.license.info=true as a VM argument when starting your Java application.
Add System.setProperty("teamdev.license.info", "true"); call before creating any JNIWrapper objects. The call will have no effect if performed after creating the very first object related to JNIWrapper functionality.
Clean and rebuild your project. It is possible that there is an outdated licence cached somewhere.