Giter Club home page Giter Club logo

pepipost-sdk-java's Introduction

pepipostlogo

Twitter Follow

Official Java library โ˜• for Pepipost

This library contains methods for easily interacting with the Pepipost Email Sending API to send emails within few seconds.

We are trying to make our libraries Community Driven- which means we need your help in building the right things in proper order we would request you to help us by sharing comments, creating new issues or pull requests.

We welcome any sort of contribution to this library.

The latest 5.0 version of this library provides is fully compatible with the latest Pepipost v5.0 API.

For any update of this library check Releases.

Table of Content

Installation

Prerequisites

  • Java version Oracle JDK 7, 8 or OpenJDK 7
  • Java Maven Dependencies
    • Jackson
    • UniRest
    • Apache HttpClient
  • Java Development Enviromment (IDE).
  • A free account on Pepipost. If you don't have a one, click here to signup and get 30,000 emails free every month.

Quick Start

This Java library uses few Maven Dependencies (mentioned above). The reference to these dependencies are added in pom.xml file which will be installed automatically. Just need internet access for successful build.

  • Download zip or get a clone for the pepipost repository using

    git clone https://github.com/pepipost/pepipost-sdk-java.git

  • In order to open the client library in Eclipse click on File -> Import.

    Importing SDK into Eclipse - Step 1

  • In the import dialog, select Existing Java Project and click Next.

    Importing SDK into Eclipse - Step 2

  • Browse to locate the folder containing the source code. Select the detected location of the project and click Finish.

    Importing SDK into Eclipse - Step 3

  • Upon successful import, the project will be automatically built by Eclipse after automatically resolving the dependencies.

    Importing SDK into Eclipse - Step 4

Usage of Pepipost library in project

  1. Starting a new project

    • Click the menu command File > New > Project.

      Add a new project in Eclipse

    • Choose Maven > Maven Project.

    • Click Next.

      Create a new Maven Project - Step 1

    • Here, make sure to use the current workspace by choosing Use default Workspace location, as shown in the screenshot below.

    • Click Next.

      Create a new Maven Project - Step 2

    • Select the quick start project type to create a simple project with an existing class.

    • A main method.

    • To do this, choose maven-archetype-quickstart item from the list.

    • Click Next.

      Create a new Maven Project - Step 3

    • In the last step, provide a Group Id.and Artifact Id as shown in the picture below.

    • Click Finish.

      Create a new Maven Project - Step 4

  2. Add reference of the library project

    • The created Maven project manages its dependencies using its pom.xml file.

    • In order to add a dependency on the PepipostLib client library, double click on the pom.xml file in the Package Explorer.

    • Opening the pom.xml file will render a graphical view on the canvas.

    • Here, switch to the Dependencies tab.

    • Click the Add button as shown in the picture below.

      Adding dependency to the client library - Step 1

    • Click the Add button. A dialog will open, where you need to specify Pepipost in Group Id and PepipostLib in the Artifact Id fields.

    • Once added click OK.

    • Save the pom.xml file.

      Adding dependency to the client library - Step 2

  3. Getting started with code

    • Once the SimpleConsoleApp is created, a file named App.java will be visible in the Package Explorer with a main method.

    • This is the entry point for the execution of the created project.

      Adding dependency to the client library - Step 2

Sample Usage

package TestApp.SimpleConsoleApp;

import java.util.*;
import java.io.*;

import com.pepipost.api.*;
import com.pepipost.api.models.*;
import com.pepipost.api.controllers.*;
import com.pepipost.api.http.client.*;

import com.fasterxml.jackson.core.JsonProcessingException;


public class App {

    public static void main(String[] args) throws JsonProcessingException {
        
        PepipostClient client = new PepipostClient();
        MailSendController mailSendController = client.getMailSend();
        Configuration.apiKey = "your api_key here";
        Send body = new Send();
        
        body.setFrom(new From());
        body.getFrom().setEmail("hello@your-register-domain-with-pepipost");
        body.getFrom().setName("Example Pepi");
        body.setSubject("Emailing with Pepipost is easy");
        body.setContent(new LinkedList<Content>());
        
        Content body_content_0 = new Content();
        body_content_0.setType(TypeEnum.HTML);
        body_content_0.setValue("<html><body>Hey,<br><br>Do you know integration is even simpler in Pepipost, <br>with Java <br> Happy Mailing ! <br><br>Pepipost </body></html>");
        body.getContent().add(body_content_0);
        
        body.setPersonalizations(new LinkedList<Personalizations>());
        
        Personalizations body_personalizations_0 = new Personalizations();
        body_personalizations_0.setTo(new LinkedList<EmailStruct>());
        
        EmailStruct body_personalizations_0_to_0 = new EmailStruct();
        body_personalizations_0_to_0.setName("random-1");
        body_personalizations_0_to_0.setEmail("[email protected]");
        body_personalizations_0.getTo().add(body_personalizations_0_to_0);
        
        body.getPersonalizations().add(body_personalizations_0);
        
        mailSendController.createGeneratethemailsendrequestAsync(body, new APICallBack<Object>() {
            public void onSuccess(HttpContext context, Object response) {
                
            	System.out.println(response.toString());
            	System.out.println(context.getResponse().getStatusCode());
            	
            }
            public void onFailure(HttpContext context, Throwable error) {
            	
            	System.out.println(error.getMessage());
            	System.out.println(context.getResponse().getStatusCode());
            	

            }
        });
    }
}
  • Change your api-key and sending domain respectively
    • apikey will be available under Login to Pepipost -> Settings -> Integration
    • Sending Domain will be available under Login to Pepiost -> Settings -> Sending Domains
  *Note :: Domains showing with Active status on Sending Domain dashboard are only allowed to send any sort of emails.* In case there are no Sending Domain added under your account, then first add the domain, get the DNS (SPF/DKIM) settings done and get it reviewed by our compliance team for approval. Once the domain is approved, it will be in ACTIVE status and will be ready to send any sort of emails. 
  • Run your project

Announcements

v5.0 has been released! Please see the release notes for details.

All updates to this library are documented in our releases. For any queries, feel free to reach out us at [email protected]

Roadmap

If you are interested in the future direction of this project, please take a look at our open issues and pull requests. We would love to hear your feedback.

About

pepipost-sdk-java library is guided and supported by the Pepipost Developer Experience Team . This pepipost library is maintained and funded by Pepipost Ltd. The names and logos for pepipost gem are trademarks of Pepipost Ltd.

License

This code library was semi-automatically generated by APIMATIC v2.0 and licensed under The MIT License (MIT).

pepipost-sdk-java's People

Contributors

dependabot[bot] avatar itabrezshaikh avatar ivikramsahu avatar rishabh625 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pepipost-sdk-java's Issues

Content in emailbody required when using a template

Hi,

I am testing out the pepipost api.
I am using the following code for my test:

PepipostClient client = new PepipostClient();
EmailController emailController = client.getEmail();
EmailBody body = new EmailBody(); 

body.setPersonalizations(new ArrayList<>());
Personalizations personalizations = new Personalizations();
personalizations.setRecipient("******@******.**");
body.getPersonalizations().add(personalizations);
    
 body.setTags("test");

body.setFrom(new From());
body.getFrom().setFromEmail("***@***.***");
body.getFrom().setFromName("info");

body.setSubject("Test");
body.setContent(""); 
body.setTemplateId(****);

Settings settings = new Settings();
settings.setClicktrack(1);
settings.setOpentrack(1);
settings.setUnsubscribe(0);
settings.setFooter(0);
body.setSettings(settings);

emailController.createSendEmailAsync("*****************", body, "/v2/sendEmail", new APICallBack<SendEmailResponse>() {
            public void onSuccess(HttpContext context, SendEmailResponse response) {
                LOGGER.info("Response Message: " + response.getMessage());
                if (response.getErrorInfo() != null) {
                    LOGGER.info("Error code: " + response.getErrorInfo().getErrorCode());
                    LOGGER.info("Error message: " + response.getErrorInfo().getErrorMessage());
                }
            }

            public void onFailure(HttpContext context, Throwable error) {
                LOGGER.error("Error sending pepipost mail", error);
            }
        });

I try to use a template by setting the template id. body.setTemplateId(****).

If I leave out body.setContent() or use body.setContent("") I get the following error:

"113 - Parameter [fromEmail] not passed in the api call"

If I then try body.setContent(" ") or body.setContent("someText") it sometimes works. Sometimes I also get the following error message:

"118 - Invalid TemplateID"

Any thoughts on this?

403

I already set all the requirements. But it always shows
API Response
403

java.lang.NoSuchMethodError Coming

Team, I am trying to integrate library as jar in my maven project.
The project compiles successfully and send mail as well.
But one warning is coming during execution of project.
[WARNING] java.lang.NoSuchMethodError: okio.BufferedSource.readUtf8LineStrict(J)Ljava/lang/String; at okhttp3.internal.http1.Http1Codec.readHeaderLine (Http1Codec.java:215) at okhttp3.internal.http1.Http1Codec.readResponseHeaders (Http1Codec.java:189) at okhttp3.internal.http.CallServerInterceptor.intercept (CallServerInterceptor.java:88) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.connection.ConnectInterceptor.intercept (ConnectInterceptor.java:45) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept (CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept (BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept (RetryAndFollowUpInterceptor.java:126) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:121) at com.pepipost.api.http.client.HttpRedirectInterceptor.intercept (HttpRedirectInterceptor.java:30) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain (RealCall.java:254) at okhttp3.RealCall$AsyncCall.execute (RealCall.java:200) at okhttp3.internal.NamedRunnable.run (NamedRunnable.java:32) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624) at java.lang.Thread.run (Thread.java:748)

Attach files to email from S3

Add a capability to the current Pepipost Java SDK to attach files to an email from an S3 bucket.

Example: A user might be generating all transactional receipts in PDF format in S3 and those need to be sent through emails.

eMail Attachment

Hi Team,

Please let us know how to send email attachments (we are using Java)

BUILD FAILURE

FYI. The SDK simply doesn't compile.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project PepipostLib: Compilation failure: Compilation failure: 
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/controllers/EventsController.java:[11,21] package org.joda.time does not exist
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/controllers/StatsController.java:[11,21] package org.joda.time does not exist
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/controllers/EventsController.java:[59,23] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.controllers.EventsController
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/controllers/EventsController.java:[62,23] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.controllers.EventsController
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/controllers/EventsController.java:[92,23] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.controllers.EventsController
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/controllers/EventsController.java:[95,23] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.controllers.EventsController
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/controllers/EventsController.java:[142,23] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.controllers.EventsController
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/controllers/EventsController.java:[145,23] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.controllers.EventsController
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/controllers/StatsController.java:[54,23] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.controllers.StatsController
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/controllers/StatsController.java:[55,23] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.controllers.StatsController
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/controllers/StatsController.java:[77,23] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.controllers.StatsController
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/controllers/StatsController.java:[78,23] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.controllers.StatsController
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/controllers/StatsController.java:[122,23] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.controllers.StatsController
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/controllers/StatsController.java:[123,23] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.controllers.StatsController
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[12,21] package org.joda.time does not exist
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[13,21] package org.joda.time does not exist
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[14,21] package org.joda.time does not exist
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[15,28] package org.joda.time.format does not exist
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[16,28] package org.joda.time.format does not exist
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[30,26] cannot find symbol
[ERROR]   symbol:   class DateTimeFormatter
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[39,19] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[48,19] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[57,42] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[66,53] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[82,19] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[91,44] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[100,55] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[116,19] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[129,44] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[138,55] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[154,19] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[163,39] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[172,50] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[186,76] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[188,16] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper.UnixTimestampDeserializer
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[196,72] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[198,31] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper.UnixTimestampSerializer
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[207,78] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[209,16] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper.Rfc1123DateTimeDeserializer
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[217,74] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[219,31] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper.Rfc1123DateTimeSerializer
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[228,78] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[230,16] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper.Rfc8601DateTimeDeserializer
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[238,74] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[240,31] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper.Rfc8601DateTimeSerializer
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[249,73] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[251,16] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.DateTimeHelper.SimpleDateDeserializer
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[259,69] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[261,31] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.DateTimeHelper.SimpleDateSerializer
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[32,23] cannot find symbol
[ERROR]   symbol:   variable DateTimeZone
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[31,13] cannot find symbol
[ERROR]   symbol:   variable DateTimeFormat
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[40,20] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[49,20] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[71,14] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[105,14] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[118,24] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[118,39] cannot find symbol
[ERROR]   symbol:   variable DateTimeZone
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[143,14] cannot find symbol
[ERROR]   symbol:   class DateTime
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[155,20] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] /private/var/tmp/pepipost-sdk-java/src/main/java/com/pepipost/api/DateTimeHelper.java:[177,14] cannot find symbol
[ERROR]   symbol:   class LocalDate
[ERROR]   location: class com.pepipost.api.DateTimeHelper
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.