ryantenney / passkit4j

Java library for generating Apple Passbook (.pkpass) files

Home Page:http://www.ryantenney.com/passkit4j/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I'm trying to install the project passkit4j but send me errors PassSerializer class

angela9mx opened this issue · comments

Hello

I am new in your comunity and , could you help me whith this: I am trying install the passkit4j project to create passes from java and sends me errors the PassSerializer class, the version that I have is Java 1.8.0_91, the errors are:

  • The method hash () is undefined for the type PassSerializer.OutputStreamHasher
  • The method passInformation () is undefined for the type Pass
  • The type PassSerializer.OutputStreamHasher must Implement the abstract method inherited OutputStream.write (int)

The pom file does not mark errors, I hope you can help me, thank you
excuse me for my English, I know it is very poor but I hope you understand me, thanks

image

Regards

It sounds like you're opening the project in a Java IDE. The project makes use of Project Lombok which generates java bytecode. It is already integrated into the Maven build, so you can just run mvn install, but if you want to open it in an IDE you'll need to install the Lombok plugin.

ok, thank you very much, i will install the plugin you mention.