Resolve error "java.lang.NoClassDefFoundError: Could not initialize class com.mapinfo.mapmarker.GBR.dp.license.LicenseManager" in Spectrum

Product Feature: Great Britain Component

Operating System: Linux

Issue

When using the Geocode Address Global stage to geocode addresses in Great Britain, the customer encounters this error:
 
Exception:java.lang.RuntimeException: geocoding.v1-geocoding.v1.EMEA threw StageException: com.g1.component.igeocode.GeocoderException: java.lang.NoClassDefFoundError: Could not initialize class com.mapinfo.mapmarker.GBR.dp.license.LicenseManager 
com.g1.dcg.message.MessageProcessingException: java.lang.RuntimeException: geocoding.v1-geocoding.v1.EMEA threw StageException: com.g1.component.igeocode.GeocoderException: java.lang.NoClassDefFoundError: Could not initialize class com.mapinfo.mapmarker.GBR.dp.license.LicenseManager

Cause

There are three databases available for geocoding addresses in Great Britain and two different stages that can be used.  The Great Britain Code Point (GB2) and Great Britain Address Point (GB3) databases only work as a GBR Database Resource in the GeocodeAddressGBR stage.  The Great Britain Geocoding database (GB1) only works as a Global Database Resource in the GeocodeAddressGlobal stage.

The user encounters this error when a Global Database Resource includes the GB2 or GB3 data.  The structure of the data is different, and the software cannot find a specific class.

Resolution

UPDATED: October 18, 2017
Modify the Global Database Resource to remove the Great Britain Code Point and/or Address Point data from the resource.  

Instead, define a GBR Database Resource to point to the GB2 or GB3 data.  

In the dataflow, add a conditional router stage to direct British addresses to the GeocodeAddressGBR stage instead of the GeocodeAddressGlobal stage.