Using MaxMind java class with ColdFusion
问题 I'm trying to use MaxMind java library with ColdFusion. I start converting this sample code on official MaxMind site: // A File object pointing to your GeoIP2 or GeoLite2 database File database = new File("/path/to/GeoIP2-City.mmdb"); // This creates the DatabaseReader object, which should be reused across // lookups. DatabaseReader reader = new DatabaseReader.Builder(database).build(); InetAddress ipAddress = InetAddress.getByName("128.101.101.101"); // Replace "city" with the appropriate