Hi all,
I'm trying to import a class from a non-standard location.. Specifically, 
I'm trying to import PhoneNumberToCarrierMapper from libphonenumber and am 
receiving the following error:

Exception in thread "main" java.lang.ClassNotFoundException: com.google.i18n
.phonenumbers.PhoneNumberToCarrierMapper, compiling:(phonelib/shared.clj:1:1
)

https://github.com/jjbohn/libphonenumber/blob/master/java/carrier/src/com/google/i18n/phonenumbers/PhoneNumberToCarrierMapper.java

(ns phonelib.shared
  (:require [clojure.string :refer [lower-case]])
  (:import  [com.google.i18n.phonenumbers PhoneNumberUtil 
                                          PhoneNumberUtil$PhoneNumberFormat
                                          PhoneNumberToCarrierMapper]))

My assumption is the problem has to do with how the directories are 
structured in this library 
(https://github.com/jjbohn/libphonenumber/tree/master/java). 

Anyone run into this before and know of a workaround? 

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to