ERROR: Cannot define class using reflection
One of the scenario this error occurs when you have incorrect JAVA SDK.
- Please install https://www.java.com/en/download/
- Make sure its added to your system path by doing
- Verify installation by doing
java -versionshould output something like below
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
Hopefully, it resolves your issue.