code: private void clearMappingRegistry(Object o, Class<?> clazz_AbstractHandlerMethodMapping) {
  		if (debug) {
  			System.out.println("SPRING_PLUGIN: clearing out mapping registry...");
  		}
  		Object mappingRegistryInstance = null;
  		try {
  			Field field_mappingRegistry = clazz_AbstractHandlerMethodMapping.getDeclaredField("mappingRegistry");
  			field_mappingRegistry.setAccessible(true);
  			mappingRegistryInstance = field_mappingRegistry.get(o);
  		}
  		catch (NoSuchFieldException e) {
  			if (debug) {
  				System.out.println(
  						"SPRING_PLUGIN: Unable to get mappingRegistry field on AbstractHandlerMethodMapping");
  			}
  		}
  		catch (IllegalAccessException e) {
  			if (GlobalConfiguration.debugplugins || debug) {
  				System.out.println(
  						"SPRING_PLUGIN: Problem accessing mappingRegistry field on AbstractHandlerMethodMapping: ");
  				e.printStackTrace(System.out);
  			}
  		}
  
  		if (mappingRegistryInstance == null) {
  			return;
  		}
  		Class mappingRegistryClass = mappingRegistryInstance.getClass();
  
  		clearMapField(mappingRegistryClass, mappingRegistryInstance, "registry");
  		clearMapField(mappingRegistryClass, mappingRegistryInstance, "mappingLookup");
  		clearMapField(mappingRegistryClass, mappingRegistryInstance, "urlLookup");
  		clearMapField(mappingRegistryClass, mappingRegistryInstance, "nameLookup");
  		clearMapField(mappingRegistryClass, mappingRegistryInstance, "corsLookup");
  		if (debug) {
  			System.out.println("SPRING_PLUGIN: ... cleared out the mapping registry contents");
  		}
  	}
docs: the initHandlerMethods below we will get an error about already existing mappings