devnied/EMV-NFC-Paycard-Enrollment

Library does not compile

sk92129 opened this issue · 1 comments

I pulled the latest, and tried to run the "mvn clean install".

The library does not build successfully. Is there a known workaround for this issue?

Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

I am using Windows7 64 bit with Java 9.
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

I noticed that the parent pom specifies 1.6 java with the maven-compiler-plugin.
( Tried on mac 10.13.1 with java 9.0.1. Still got the same build issue).

You must built the library with the jdk 7 or 8.