git - clone MailChimp API 3.0 wrapper for Java in netbeans and adding code but not getting there -


i cloned "mailchimp api 3.0 wrapper java" in netbeans, had new maving project. addes new package within there code. in class have mailchimp api code:

package mailingapp2;  import com.ecwid.maleorang.mailchimpobject; import com.ecwid.maleorang.method.v3_0.members.editmembermethod; import com.ecwid.*; import com.ecwid.maleorang.mailchimpclient; import com.ecwid.maleorang.method.v3_0.members.memberinfo;  public class sendmailchimpmail {      public void runmailchimp() throws exception {         string apikey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";         string listid = "testlijst";         string email ="test@test.be";         string firstname = "name";         string lastname = "name";         mailchimpclient client = new mailchimpclient(apikey);         try {             editmembermethod.createorupdate method = new editmembermethod.createorupdate(listid, email);             method.status = "subscribed";             method.merge_fields = new mailchimpobject();             method.merge_fields.mapping.put("fname", firstname);             method.merge_fields.mapping.put("lname", lastname); memberinfo member = client.execute(method);             system.err.println("the user has been subscribed: " + member);         } {             client.close();         }     }   } 

now when compile this, says, "cannot find com.ecwid. ... package", error lines 3,4,5,6 , 7. cloned api github, how can import then. don't understand way of working.

when delete these lines, mailchimpclient class not recognized, how import then... ?


Comments